Package org.scijava.console
Interface ConsoleArgument
-
- All Superinterfaces:
Comparable<Prioritized>,Contextual,HandlerPlugin<LinkedList<String>>,HasPluginInfo,Identifiable,Locatable,Logged,Prioritized,RichPlugin,SciJavaPlugin,SingletonPlugin,Typed<LinkedList<String>>,TypedPlugin<LinkedList<String>>,Versioned
- All Known Implementing Classes:
AbstractConsoleArgument,HeadlessArgument,MainArgument,OpenArgument,RunArgument,RunArgument,RunScriptArgument,ShowUIArgument,SystemPropertyArgument,UIArgument
public interface ConsoleArgument extends HandlerPlugin<LinkedList<String>>
A plugin which extends an application's command line argument handling.Console argument plugins discoverable at runtime must implement this interface and be annotated with @
Pluginwith attributePlugin.type()=ConsoleArgument.class. While it is possible to create an console argument plugin merely by implementing this interface, it is encouraged to instead extendAbstractConsoleArgument, for convenience.- Author:
- Curtis Rueden
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Class<LinkedList<String>>getType()Gets the type associated with the object.voidhandle(LinkedList<String> args)Handles the front of the given list of arguments.-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
handle
void handle(LinkedList<String> args)
Handles the front of the given list of arguments.
-
getType
default Class<LinkedList<String>> getType()
Description copied from interface:TypedGets the type associated with the object.- Specified by:
getTypein interfaceTyped<LinkedList<String>>
-
-