public class RunScriptArgument extends AbstractConsoleArgument
ConsoleArgument for executing scripts directly.| Constructor and Description |
|---|
RunScriptArgument() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getType, isAliascompareTo, getInfo, getPriority, setInfo, setPriority, toStringcontext, getContext, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontext, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfopublic void handle(LinkedList<String> args)
ConsoleArgumentpublic boolean supports(LinkedList<String> args)
Typed
By default, this method will return true always, since the type is
known to be compatible. But individual implementations may have other
requirements beyond class assignability.
supports in interface Typed<LinkedList<String>>supports in class AbstractConsoleArgumentCopyright © 2009–2016 SciJava. All rights reserved.