Package jadex.platform.service.cron.jobs
Class CreateCommand
- java.lang.Object
- 
- jadex.platform.service.cron.jobs.CreateCommand
 
- 
- All Implemented Interfaces:
- IResultCommand<IIntermediateFuture<CMSStatusEvent>,IInternalAccess>
 
 public class CreateCommand extends java.lang.Object implements IResultCommand<IIntermediateFuture<CMSStatusEvent>,IInternalAccess> The create command is used to create a component via the cms.
- 
- 
Field SummaryFields Modifier and Type Field Description protected CreationInfoinfoThe creation info.protected java.lang.StringmodelThe model.protected java.lang.StringnameThe name.
 - 
Constructor SummaryConstructors Constructor Description CreateCommand(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(IInternalAccess ia)Execute the command.CreationInfogetInfo()Get the info.java.lang.StringgetModel()Get the model.java.lang.StringgetName()Get the name.voidsetInfo(CreationInfo info)Set the info.voidsetModel(java.lang.String model)Set the model.voidsetName(java.lang.String name)Set the name.
 
- 
- 
- 
Field Detail- 
nameprotected java.lang.String name The name.
 - 
modelprotected java.lang.String model The model.
 - 
infoprotected CreationInfo info The creation info.
 
- 
 - 
Constructor Detail- 
CreateCommandpublic CreateCommand(java.lang.String name, java.lang.String model, CreationInfo info)Create a new CreateCommand.
 
- 
 - 
Method Detail- 
executepublic ISubscriptionIntermediateFuture<CMSStatusEvent> execute(IInternalAccess ia) Execute the command.- Specified by:
- executein interface- IResultCommand<IIntermediateFuture<CMSStatusEvent>,IInternalAccess>
- Parameters:
- args- The argument(s) for the call.
- Returns:
- The result of the command.
 
 - 
getNamepublic java.lang.String getName() Get the name.- Returns:
- The name.
 
 - 
setNamepublic void setName(java.lang.String name) Set the name.- Parameters:
- name- The name to set.
 
 - 
getModelpublic java.lang.String getModel() Get the model.- Returns:
- The model.
 
 - 
setModelpublic void setModel(java.lang.String model) Set the model.- Parameters:
- model- The model to set.
 
 - 
getInfopublic CreationInfo getInfo() Get the info.- Returns:
- The info.
 
 - 
setInfopublic void setInfo(CreationInfo info) Set the info.- Parameters:
- info- The info to set.
 
 
- 
 
-