org.scijava.console
Interface ConsoleArgument
- All Superinterfaces:
- Comparable<Prioritized>, Contextual, HandlerPlugin<LinkedList<String>>, HasPluginInfo, Prioritized, RichPlugin, SciJavaPlugin, SingletonPlugin, Typed<LinkedList<String>>, TypedPlugin<LinkedList<String>>
- All Known Implementing Classes:
- AbstractConsoleArgument, OpenArgument, RunArgument, UIArgument
public interface ConsoleArgument
- extends HandlerPlugin<LinkedList<String>>
A plugin which extends an application's command line argument handling.
Console argument plugins discoverable at runtime must implement this
interface and be annotated with @Plugin
with attribute
Plugin.type()
= ConsoleArgument
.class. While it possible to
create an console argument plugin merely by implementing this interface, it
is encouraged to instead extend AbstractConsoleArgument
, for
convenience.
- Author:
- Curtis Rueden
handle
void handle(LinkedList<String> args)
- Handles the front of the given list of arguments.
Copyright © 2009–2014 SciJava. All rights reserved.