org.scijava.command.console
Class RunArgument

java.lang.Object
  extended by org.scijava.AbstractContextual
      extended by org.scijava.plugin.AbstractRichPlugin
          extended by org.scijava.plugin.AbstractTypedPlugin<D>
              extended by org.scijava.plugin.AbstractHandlerPlugin<LinkedList<String>>
                  extended by org.scijava.console.AbstractConsoleArgument
                      extended by org.scijava.command.console.RunArgument
All Implemented Interfaces:
Comparable<Prioritized>, ConsoleArgument, Contextual, HandlerPlugin<LinkedList<String>>, HasPluginInfo, RichPlugin, SciJavaPlugin, SingletonPlugin, TypedPlugin<LinkedList<String>>, Prioritized, Typed<LinkedList<String>>

public class RunArgument
extends AbstractConsoleArgument

Handles the --run command line argument.

Author:
Curtis Rueden, Johannes Schindelin

Constructor Summary
RunArgument()
           
 
Method Summary
 void handle(LinkedList<String> args)
          Handles the front of the given list of arguments.
 boolean supports(LinkedList<String> args)
          Gets whether this object is compatible with the given data object.
 
Methods inherited from class org.scijava.console.AbstractConsoleArgument
getType
 
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
compareTo, getInfo, getPriority, setInfo, setPriority, toString
 
Methods inherited from class org.scijava.AbstractContextual
context, getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 
Methods inherited from interface org.scijava.Prioritized
getPriority, setPriority
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
 

Constructor Detail

RunArgument

public RunArgument()
Method Detail

handle

public void handle(LinkedList<String> args)
Description copied from interface: ConsoleArgument
Handles the front of the given list of arguments.


supports

public boolean supports(LinkedList<String> args)
Description copied from interface: Typed
Gets whether this object is compatible with the given data object.

Typically, this will be the case when data.getClass() is assignable to the type associated with the object (i.e., the one returned by Typed.getType()). But individual implementations may have other requirements beyond class assignability.

Specified by:
supports in interface Typed<LinkedList<String>>
Overrides:
supports in class AbstractTypedPlugin<LinkedList<String>>


Copyright © 2009–2014 SciJava. All rights reserved.