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