Package | Description |
---|---|
org.scijava.command |
Modifier and Type | Method and Description |
---|---|
<C extends Command> |
DefaultCommandService.getCommand(Class<C> commandClass) |
<C extends Command> |
CommandService.getCommand(Class<C> commandClass)
Gets the first available command of the given class, or null if none.
|
CommandInfo |
DefaultCommandService.getCommand(String className) |
CommandInfo |
CommandService.getCommand(String className)
Gets the first available command of the given class name, or null if none.
|
CommandInfo |
ModuleCommand.getInfo() |
CommandInfo |
CommandModule.getInfo() |
Modifier and Type | Method and Description |
---|---|
List<CommandInfo> |
DefaultCommandService.getCommands() |
List<CommandInfo> |
CommandService.getCommands()
Gets the list of all available
Command s). |
<CT extends Command> |
DefaultCommandService.getCommands(List<PluginInfo<CT>> plugins) |
<CT extends Command> |
CommandService.getCommands(List<PluginInfo<CT>> plugins)
Gets the list of
Command s corresponding to the given plugins. |
<C extends Command> |
DefaultCommandService.getCommandsOfClass(Class<C> commandClass) |
<C extends Command> |
CommandService.getCommandsOfClass(Class<C> commandClass)
Gets the list of commands of the given class.
|
List<CommandInfo> |
DefaultCommandService.getCommandsOfClass(String className) |
List<CommandInfo> |
CommandService.getCommandsOfClass(String className)
Gets the list of commands with the given class name.
|
<CT extends Command> |
DefaultCommandService.getCommandsOfType(Class<CT> type) |
<CT extends Command> |
CommandService.getCommandsOfType(Class<CT> type)
Gets the list of
Command s of the given type. |
Modifier and Type | Method and Description |
---|---|
Future<CommandModule> |
DefaultCommandService.run(CommandInfo info,
boolean process,
Map<String,Object> inputMap) |
Future<CommandModule> |
CommandService.run(CommandInfo info,
boolean process,
Map<String,Object> inputMap)
Executes the given command.
|
Future<CommandModule> |
DefaultCommandService.run(CommandInfo info,
boolean process,
Object... inputs) |
Future<CommandModule> |
CommandService.run(CommandInfo info,
boolean process,
Object... inputs)
Executes the given command.
|
Constructor and Description |
---|
CommandModule(CommandInfo info)
Creates a command module for the given
PluginInfo . |
CommandModule(CommandInfo info,
Command command)
Creates a command module for the given
CommandInfo , around the
specified Command instance. |
DynamicCommandInfo(CommandInfo info,
Class<? extends DynamicCommand> moduleClass) |
Copyright © 2015–2022 SciJava. All rights reserved.