Package jade.domain.JADEAgentManagement
Class InstallMTP
- java.lang.Object
-
- jade.domain.JADEAgentManagement.InstallMTP
-
- All Implemented Interfaces:
AgentAction,Concept,ContentElement,Term,Serializable,Serializable
public class InstallMTP extends Object implements AgentAction
This class represents theinstall-MTPaction of theJADE-agent-management ontology. This action can be requested to the JADE AMS to install a new MTP for inter-platform communication on a given container.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InstallMTP()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAddress()Retrieve the value of theaddressslot of this action, containing the address URL of the MTP to install.StringgetClassName()Retrieve the value of theclass-nameslot of this action, containing the name of the Java class implementing the MTP endpoint to install.ContainerIDgetContainer()Retrieve the value of thecontainerslot of this action, containing the container identifier of the container where the new MTP is to be deployed.voidsetAddress(String a)Set theaddressslot of this action.voidsetClassName(String a)Set theclass-nameslot of this action.voidsetContainer(ContainerID cid)Set thecontainerslot of this action.
-
-
-
Method Detail
-
setAddress
public void setAddress(String a)
Set theaddressslot of this action.- Parameters:
a- The address URL of the MTP endpoint to install.
-
getAddress
public String getAddress()
Retrieve the value of theaddressslot of this action, containing the address URL of the MTP to install.- Returns:
- The value of the
addressslot, ornullif no value was set.
-
setContainer
public void setContainer(ContainerID cid)
Set thecontainerslot of this action.- Parameters:
cid- The container identifier of the container where the new MTP is to be deployed.
-
getContainer
public ContainerID getContainer()
Retrieve the value of thecontainerslot of this action, containing the container identifier of the container where the new MTP is to be deployed.- Returns:
- The value of the
containerslot, ornullif no value was set.
-
setClassName
public void setClassName(String a)
Set theclass-nameslot of this action.- Parameters:
a- The name of the Java class implementing the MTP endpoint to install.
-
getClassName
public String getClassName()
Retrieve the value of theclass-nameslot of this action, containing the name of the Java class implementing the MTP endpoint to install.- Returns:
- The value of the
class-nameslot, ornullif no value was set.
-
-