public class HeadlessArgument extends AbstractConsoleArgument
--headless argument to signal that no UI will be opened
and the enclosing Context will not be used after the
ConsoleService argument processing is complete.| Constructor and Description |
|---|
HeadlessArgument() |
| 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.
|
getParam, isFlaggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypegetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionpublic void handle(LinkedList<String> args)
ConsoleArgumentpublic boolean supports(LinkedList<String> args)
Typed
By default, this method will return true iff the data is assignable
to the associated type given by Typed.getType(). But individual
implementations may have other requirements beyond class assignability.
supports in interface Typed<LinkedList<String>>supports in class AbstractConsoleArgumentCopyright © 2015–2022 SciJava. All rights reserved.