public interface ConsoleArgument extends HandlerPlugin<LinkedList<String>>
Console argument plugins discoverable at runtime must implement this
interface and be annotated with @Plugin with attribute
Plugin.type() = ConsoleArgument.class. While it is possible
to create an console argument plugin merely by implementing this interface,
it is encouraged to instead extend AbstractConsoleArgument, for
convenience.
| Modifier and Type | Method and Description |
|---|---|
default Class<LinkedList<String>> |
getType()
Gets the type associated with the object.
|
void |
handle(LinkedList<String> args)
Handles the front of the given list of arguments.
|
getIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersionvoid handle(LinkedList<String> args)
default Class<LinkedList<String>> getType()
TypedgetType in interface Typed<LinkedList<String>>Copyright © 2015–2022 SciJava. All rights reserved.