Uses of Interface
org.pipservices3.commons.commands.ICommand
-
Uses of ICommand in org.pipservices3.commons.commands
Modifier and TypeClassDescriptionclass
Concrete implementation ofICommand
interface.class
Implements aICommand
command wrapped by an interceptor.Modifier and TypeMethodDescriptionCommandSet.findCommand
(String commandName) Searches for a command by its name.Modifier and TypeMethodDescriptionCommandSet.getCommands()
Gets all commands registered in this command set.Modifier and TypeMethodDescriptionvoid
CommandSet.addCommand
(ICommand command) Adds a ICommand command to this command set.ICommandInterceptor.execute
(String correlationId, ICommand command, Parameters args) Executes the wrapped command with specified arguments.Gets the name of the wrapped command.ICommandInterceptor.validate
(ICommand command, Parameters args) Validates arguments of the wrapped command before its execution.Modifier and TypeMethodDescriptionvoid
CommandSet.addCommands
(List<ICommand> commands) Adds multiple ICommand commands to this command set.ModifierConstructorDescriptionInterceptedCommand
(ICommandInterceptor interceptor, ICommand next) Creates a new InterceptedCommand, which serves as a link in an execution chain.