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, isFlag
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getType
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public void handle(LinkedList<String> args)
ConsoleArgument
public 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 AbstractConsoleArgument
Copyright © 2015–2022 SciJava. All rights reserved.