jade.domain.JADEAgentManagement
Class KillContainer

java.lang.Object
  |
  +--jade.domain.JADEAgentManagement.KillContainer
All Implemented Interfaces:
AgentAction, Concept, ContentElement, Serializable, java.io.Serializable, Term

public class KillContainer
extends java.lang.Object
implements AgentAction

This class represents the kill-container action of the JADE-agent-management ontology. This action can be requested to the JADE AMS to kill an active container.

Version:
$Date: 2003-11-24 14:47:00 +0100 (lun, 24 nov 2003) $ $Revision: 4597 $
Author:
Giovanni Rimassa - Universita' di Parma
See Also:
Serialized Form

Constructor Summary
KillContainer()
          Default constructor.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KillContainer

public KillContainer()
Default constructor. A default constructor is necessary for ontological classes.

Method Detail

setContainer

public void setContainer(ContainerID cid)
Set the container slot of this action.


getContainer

public ContainerID getContainer()
Retrieve the value of the container slot of this event, containing the container identifier of the container to terminate.

Returns:
The value of the container slot, or null if no value was set.

setPassword

public void setPassword(java.lang.String p)
Set the password slot of this action.

Parameters:
p - The password to authenticate the principal requesting the container termination.

getPassword

public 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.

Returns:
The value of the password slot, or null if no value was set.


JADE