public interface Command extends SciJavaPlugin, Runnable
Commandis a plugin that is executable. A
Commandcan be executed as a
Moduleby wrapping it in an instance of
Commands discoverable at runtime must implement this interface and be
annotated with @
Plugin with attribute
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
InteractiveCommand) for convenience.
Copyright © 2015–2019 SciJava. All rights reserved.