public class MessageGoal extends java.lang.Object implements Goal
| Modifier | Constructor and Description |
|---|---|
protected |
MessageGoal()
The default constructor.
|
|
MessageGoal(jade.lang.acl.ACLMessage message)
Initializes a message goal with the given message.
|
| Modifier and Type | Method and Description |
|---|---|
jade.lang.acl.ACLMessage |
getMessage()
Returns the message associated with this message goal.
|
protected void |
setMessage(jade.lang.acl.ACLMessage message)
Sets the message of this goal.
|
java.lang.String |
toString()
Returns a string representation of this goal, in the form
"MessageGoal: message".
|
protected MessageGoal()
public MessageGoal(jade.lang.acl.ACLMessage message)
message - the message to be processed.@Parameter(direction=IN) public jade.lang.acl.ACLMessage getMessage()
protected void setMessage(jade.lang.acl.ACLMessage message)
message - the message to setpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()