Package jade.domain.JADEAgentManagement
Class KillContainer
- java.lang.Object
-
- jade.domain.JADEAgentManagement.KillContainer
-
- All Implemented Interfaces:
AgentAction,Concept,ContentElement,Term,Serializable,Serializable
public class KillContainer extends Object implements AgentAction
This class represents thekill-containeraction of theJADE-agent-management ontology. This action can be requested to the JADE AMS to kill an active container.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KillContainer()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerIDgetContainer()Retrieve the value of thecontainerslot of this event, containing the container identifier of the container to terminate.StringgetPassword()Retrieve the value of thepasswordslot of this event, containing the password to authenticate the principal requesting the container termination.voidsetContainer(ContainerID cid)Set thecontainerslot of this action.voidsetPassword(String p)Set thepasswordslot of this action.
-
-
-
Method Detail
-
setContainer
public void setContainer(ContainerID cid)
Set thecontainerslot of this action.- Parameters:
id- The container identifier of the container to terminate.
-
getContainer
public ContainerID getContainer()
Retrieve the value of thecontainerslot of this event, containing the container identifier of the container to terminate.- Returns:
- The value of the
containerslot, ornullif no value was set.
-
setPassword
public void setPassword(String p)
Set thepasswordslot of this action.- Parameters:
p- The password to authenticate the principal requesting the container termination.
-
getPassword
public String getPassword()
Retrieve the value of thepasswordslot of this event, containing the password to authenticate the principal requesting the container termination.- Returns:
- The value of the
passwordslot, ornullif no value was set.
-
-