Package io.vertigo.commons.impl.command
Class CommandManagerImpl
- java.lang.Object
-
- io.vertigo.commons.impl.command.CommandManagerImpl
-
- All Implemented Interfaces:
CommandManager
,io.vertigo.core.node.component.Component
,io.vertigo.core.node.component.CoreComponent
,io.vertigo.core.node.component.Manager
,io.vertigo.core.node.definition.DefinitionProvider
,io.vertigo.core.node.definition.SimpleDefinitionProvider
public final class CommandManagerImpl extends Object implements CommandManager, io.vertigo.core.node.definition.SimpleDefinitionProvider
-
-
Constructor Summary
Constructors Constructor Description CommandManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandResponse
executeCommand(String handle, String... commandParams)
CommandDefinition
findCommand(String handle)
List<CommandDefinition>
provideDefinitions(io.vertigo.core.node.definition.DefinitionSpace definitionSpace)
List<CommandDefinition>
searchCommands(String prefix)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
provideDefinitions
public List<CommandDefinition> provideDefinitions(io.vertigo.core.node.definition.DefinitionSpace definitionSpace)
- Specified by:
provideDefinitions
in interfaceio.vertigo.core.node.definition.SimpleDefinitionProvider
-
searchCommands
public List<CommandDefinition> searchCommands(String prefix)
- Specified by:
searchCommands
in interfaceCommandManager
-
findCommand
public CommandDefinition findCommand(String handle)
- Specified by:
findCommand
in interfaceCommandManager
-
executeCommand
public CommandResponse executeCommand(String handle, String... commandParams)
- Specified by:
executeCommand
in interfaceCommandManager
-
-