Class RuleCreateCommand
- java.lang.Object
- 
- jadex.platform.service.processengine.RuleCreateCommand
 
- 
- All Implemented Interfaces:
- IResultCommand<IFuture<java.util.Collection<CMSStatusEvent>>,CommandAction.CommandData>
 
 public class RuleCreateCommand extends java.lang.Object implements IResultCommand<IFuture<java.util.Collection<CMSStatusEvent>>,CommandAction.CommandData> The create command is used to create a component via the cms. Wraps a create command in a rule engine friendly version.
- 
- 
Field SummaryFields Modifier and Type Field Description protected CreateCommandcommandThe name.
 - 
Constructor SummaryConstructors Constructor Description RuleCreateCommand(CreateCommand command)Create a new CreateCommand.RuleCreateCommand(java.lang.String name, java.lang.String model, CreationInfo info)Create a new CreateCommand.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IIntermediateFuture<CMSStatusEvent>execute(CommandAction.CommandData args)Execute the command.CreateCommandgetCommand()Get the command.voidsetCommand(CreateCommand command)Set the command.
 
- 
- 
- 
Field Detail- 
commandprotected CreateCommand command The name.
 
- 
 - 
Constructor Detail- 
RuleCreateCommandpublic RuleCreateCommand(CreateCommand command) Create a new CreateCommand.
 - 
RuleCreateCommandpublic RuleCreateCommand(java.lang.String name, java.lang.String model, CreationInfo info)Create a new CreateCommand.
 
- 
 - 
Method Detail- 
executepublic IIntermediateFuture<CMSStatusEvent> execute(CommandAction.CommandData args) Execute the command.- Specified by:
- executein interface- IResultCommand<IFuture<java.util.Collection<CMSStatusEvent>>,CommandAction.CommandData>
- Parameters:
- args- The argument(s) for the call.
- Returns:
- The result of the command.
 
 - 
getCommandpublic CreateCommand getCommand() Get the command.- Returns:
- The command.
 
 - 
setCommandpublic void setCommand(CreateCommand command) Set the command.- Parameters:
- command- The command to set.
 
 
- 
 
-