|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.runtime.AbstractPlan
jadex.runtime.Plan
jadex.testcases.ResultPlan
public class ResultPlan
This plan waits for a specified time, sets the assigned result as goal state and finishes.
Constructor Summary | |
---|---|
ResultPlan(boolean success)
Create a new result plan. |
|
ResultPlan(boolean success,
Object result)
Create a new result plan. |
|
ResultPlan(boolean success,
Object result,
String belief)
Create a new result plan. |
|
ResultPlan(long wait,
boolean success)
Create a new result plan. |
|
ResultPlan(long wait,
boolean success,
Object result)
Create a new result plan. |
|
ResultPlan(long wait,
boolean success,
Object result,
String belief)
Create a new result plan. |
|
ResultPlan(Object result)
Create a new result plan. |
|
ResultPlan(Object result,
String belief)
Create a new result plan. |
Method Summary | |
---|---|
void |
body()
The plan body. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResultPlan(Object result)
result
- The result value.public ResultPlan(boolean success)
success
- The goal state after execution.public ResultPlan(long wait, boolean success)
wait
- The waiting time.success
- The goal state after execution.public ResultPlan(boolean success, Object result)
success
- The goal state after execution.result
- The result.public ResultPlan(long wait, boolean success, Object result)
wait
- The waiting time.success
- The goal state after execution.result
- The result.public ResultPlan(Object result, String belief)
result
- The result.belief
- The belief to set to the result.public ResultPlan(boolean success, Object result, String belief)
success
- The goal state after execution.result
- The result.belief
- The belief to set to the result.public ResultPlan(long wait, boolean success, Object result, String belief)
wait
- The waiting time.success
- The goal state after execution.result
- The result.belief
- The belief to set to the result.Method Detail |
---|
public void body()
body
in class Plan
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.