public class KillContainer extends java.lang.Object implements AgentAction
kill-container
action of
the JADE-agent-management ontology
.
This action can be requested to the JADE AMS to kill an active container.Constructor and Description |
---|
KillContainer()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ContainerID |
getContainer()
Retrieve the value of the
container slot of this
event, containing the container identifier of the container to
terminate. |
java.lang.String |
getPassword()
Retrieve the value of the
password slot of this
event, containing the password to authenticate the principal
requesting the container termination. |
void |
setContainer(ContainerID cid)
Set the
container slot of this action. |
void |
setPassword(java.lang.String p)
Set the
password slot of this action. |
public KillContainer()
public void setContainer(ContainerID cid)
container
slot of this action.id
- The container identifier of the container to
terminate.public ContainerID getContainer()
container
slot of this
event, containing the container identifier of the container to
terminate.container
slot, or
null
if no value was set.public void setPassword(java.lang.String p)
password
slot of this action.p
- The password to authenticate the principal requesting
the container termination.public java.lang.String getPassword()
password
slot of this
event, containing the password to authenticate the principal
requesting the container termination.password
slot, or
null
if no value was set.