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

Method Summary
 void handle(LinkedList<String> args)
          Handles the front of the given list of arguments.
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 
Methods inherited from interface org.scijava.Prioritized
getPriority, setPriority
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
 
Methods inherited from interface org.scijava.Typed
getType, supports
 

Method Detail

handle

void handle(LinkedList<String> args)
Handles the front of the given list of arguments.



Copyright © 2009–2015 SciJava. All rights reserved.