org.scijava.command
Interface Command
- All Superinterfaces:
- Runnable, SciJavaPlugin
- All Known Implementing Classes:
- ContextCommand, DynamicCommand, InteractiveCommand, ModuleCommand, OptionsPlugin, UnimplementedCommand
public interface Command
- extends SciJavaPlugin, Runnable
Command is a plugin that is executable. A Command can be
executed as a Module by wrapping it in an instance of
CommandModule.
Commands discoverable at runtime must implement this interface and be
annotated with @Plugin with attribute Plugin.type() =
Command.class. While it possible to create a command merely by
implementing this interface, it is encouraged to instead extend
ContextCommand (or in some cases ModuleCommand,
DynamicCommand or InteractiveCommand) for convenience.
- Author:
- Curtis Rueden
- See Also:
Plugin,
PluginService
| Methods inherited from interface java.lang.Runnable |
run |
Copyright © 2009–2015 SciJava. All rights reserved.