Class InstallMTP

  • All Implemented Interfaces:
    AgentAction, Concept, ContentElement, Term, Serializable, Serializable

    public class InstallMTP
    extends Object
    implements AgentAction
    This class represents the install-MTP action of the JADE-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 Detail

      • InstallMTP

        public InstallMTP()
        Default constructor. A default constructor is necessary for ontological classes.
    • Method Detail

      • setAddress

        public void setAddress​(String a)
        Set the address slot of this action.
        Parameters:
        a - The address URL of the MTP endpoint to install.
      • getAddress

        public String getAddress()
        Retrieve the value of the address slot of this action, containing the address URL of the MTP to install.
        Returns:
        The value of the address slot, or null if no value was set.
      • setContainer

        public void setContainer​(ContainerID cid)
        Set the container slot 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 the container slot of this action, containing the container identifier of the container where the new MTP is to be deployed.
        Returns:
        The value of the container slot, or null if no value was set.
      • setClassName

        public void setClassName​(String a)
        Set the class-name slot 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 the class-name slot of this action, containing the name of the Java class implementing the MTP endpoint to install.
        Returns:
        The value of the class-name slot, or null if no value was set.