public class CloneAction extends MoveAction
clone-agent action,
requesting to clone an agent within the platform.| Constructor and Description |
|---|
CloneAction()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNewName()
Retrieve the value of the
new-name slot of this
event, containing the new local name (i.e. without the platform ID)
for the new, cloned agent. |
void |
setNewName(java.lang.String nn)
Set the
new-name slot of this action. |
getMobileAgentDescription, setMobileAgentDescriptionpublic CloneAction()
public void setNewName(java.lang.String nn)
new-name slot of this action.nn - The new local name (i.e. without the platform ID) for the
new, cloned agent.public java.lang.String getNewName()
new-name slot of this
event, containing the new local name (i.e. without the platform ID)
for the new, cloned agent.new-name slot, or
null if no value was set.