public class InstallMTP extends java.lang.Object implements AgentAction
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.Constructor and Description |
---|
InstallMTP()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Retrieve the value of the
address slot of this
action, containing the address URL of the MTP to install. |
java.lang.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. |
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. |
void |
setAddress(java.lang.String a)
Set the
address slot of this action. |
void |
setClassName(java.lang.String a)
Set the
class-name slot of this action. |
void |
setContainer(ContainerID cid)
Set the
container slot of this action. |
public InstallMTP()
public void setAddress(java.lang.String a)
address
slot of this action.a
- The address URL of the MTP endpoint to install.public java.lang.String getAddress()
address
slot of this
action, containing the address URL of the MTP to install.address
slot, or
null
if no value was set.public void setContainer(ContainerID cid)
container
slot of this action.cid
- The container identifier of the container where the
new MTP is to be deployed.public ContainerID getContainer()
container
slot of this
action, containing the container identifier of the container
where the new MTP is to be deployed.container
slot, or
null
if no value was set.public void setClassName(java.lang.String a)
class-name
slot of this action.a
- The name of the Java class implementing the MTP
endpoint to install.public java.lang.String getClassName()
class-name
slot of this
action, containing the name of the Java class implementing the
MTP endpoint to install.class-name
slot, or
null
if no value was set.