Package jadex.platform.service.cron.jobs
Class CronCreateCommand
- java.lang.Object
- 
- jadex.platform.service.cron.jobs.CronCreateCommand
 
- 
- All Implemented Interfaces:
- IResultCommand<ISubscriptionIntermediateFuture<CMSStatusEvent>,Tuple2<IInternalAccess,java.lang.Long>>
 
 public class CronCreateCommand extends java.lang.Object implements IResultCommand<ISubscriptionIntermediateFuture<CMSStatusEvent>,Tuple2<IInternalAccess,java.lang.Long>> The create command is used to create a component via the cms.
- 
- 
Field SummaryFields Modifier and Type Field Description protected CreateCommandcommandThe name.
 - 
Constructor SummaryConstructors Constructor Description CronCreateCommand(CreateCommand command)Create a new CreateCommand.CronCreateCommand(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 ISubscriptionIntermediateFuture<CMSStatusEvent>execute(Tuple2<IInternalAccess,java.lang.Long> args)Execute the command.CreateCommandgetCommand()Get the command.voidsetCommand(CreateCommand command)Set the command.
 
- 
- 
- 
Field Detail- 
commandprotected CreateCommand command The name.
 
- 
 - 
Constructor Detail- 
CronCreateCommandpublic CronCreateCommand(CreateCommand command) Create a new CreateCommand.
 - 
CronCreateCommandpublic CronCreateCommand(java.lang.String name, java.lang.String model, CreationInfo info)Create a new CreateCommand.
 
- 
 - 
Method Detail- 
executepublic ISubscriptionIntermediateFuture<CMSStatusEvent> execute(Tuple2<IInternalAccess,java.lang.Long> args) Execute the command.- Specified by:
- executein interface- IResultCommand<ISubscriptionIntermediateFuture<CMSStatusEvent>,Tuple2<IInternalAccess,java.lang.Long>>
- 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.
 
 
- 
 
-