|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectubiware.core.commands.RemoveBeliefsN3Command
public class RemoveBeliefsN3Command
Command that removes a belief in N3 notation from the agent.
18.3.2010| Constructor Summary | |
|---|---|
RemoveBeliefsN3Command(ubiware.util.saplbuilder.SaplDocument document)
Make a command with the SaplDocument which will be passed to UbiwareAgent.removeBeliefsN3(String) when this command
gets executed. |
|
| Method Summary | |
|---|---|
java.lang.Void |
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 RemoveBeliefsN3Command(ubiware.util.saplbuilder.SaplDocument document)
SaplDocument which will be passed to UbiwareAgent.removeBeliefsN3(String) when this command
gets executed.
document - the SaplDocument which contains the pattern which will be removed from the agents beliefs.| Method Detail |
|---|
public void performCommand(UbiwareAgent agent)
UbiwareAgentCommand
performCommand in interface UbiwareAgentCommand<java.lang.Void>agent - The agent which is executing the commandpublic java.lang.Void getResult()
UbiwareAgentCommandUbiwareAgentCommand.performCommand(UbiwareAgent) has not been executed, the behavior of this
method is undefined.
getResult in interface UbiwareAgentCommand<java.lang.Void>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||