|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectubiware.core.commands.AddBeliefsN3Command
public class AddBeliefsN3Command
Command that adds a belief in N3 notation to the agent.
15.3.2010| Constructor Summary | |
|---|---|
AddBeliefsN3Command(ubiware.util.saplbuilder.SaplDocument document)
Make a command with the document which will be passed to UbiwareAgent.addBeliefsN3(String) when this command gets executed. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getResult()
Get the result of the action performed. |
void |
performCommand(UbiwareAgent agent)
The code which will get executed by the agent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AddBeliefsN3Command(ubiware.util.saplbuilder.SaplDocument document)
UbiwareAgent.addBeliefsN3(String) when this command gets executed.
document - The document containing the S-APL which should be added to the agent's beliefs.| Method Detail |
|---|
public void performCommand(UbiwareAgent agent)
UbiwareAgentCommand
performCommand in interface UbiwareAgentCommand<java.lang.Boolean>agent - The agent which is executing the commandpublic java.lang.Boolean getResult()
UbiwareAgentCommandUbiwareAgentCommand.performCommand(UbiwareAgent) has not been executed, the behavior of this
method is undefined.
getResult in interface UbiwareAgentCommand<java.lang.Boolean>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||