public class MPlan extends MParameterElement
| Modifier and Type | Field and Description | 
|---|---|
| protected MBody | bodyThe plan body. | 
| protected MCondition | contextconditionThe context condition. | 
| protected UnparsedExpression | preconditionThe precondition. | 
| protected int | priorityThe plan priority. | 
| protected MTrigger | triggerThe trigger. | 
| protected MTrigger | waitqueueThe waitqueue trigger. | 
parametersCAPABILITY_SEPARATOR, description, name| Constructor and Description | 
|---|
| MPlan()Bean Constructor. | 
| MPlan(java.lang.String name,
     MBody body,
     MTrigger trigger,
     MTrigger waitqueue,
     int priority)Create a new belief. | 
| Modifier and Type | Method and Description | 
|---|---|
| MBody | getBody()Get the body. | 
| MCondition | getContextCondition()Get the contextcondition. | 
| UnparsedExpression | getPrecondition()Get the precondition. | 
| int | getPriority()Get the priority. | 
| MTrigger | getTrigger()Get the trigger. | 
| MTrigger | getWaitqueue()Get the waitqueue. | 
| void | setBody(MBody body)Set the body. | 
| void | setContextCondition(MCondition contextcondition)The contextcondition to set. | 
| void | setPrecondition(UnparsedExpression precondition)Set the precondition. | 
| void | setPriority(int priority)Set the priority. | 
| void | setTrigger(MTrigger trigger)Set the trigger. | 
| void | setWaitqueue(MTrigger waitqueue)Set the waitqueue. | 
addParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParametersequals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toStringprotected MTrigger trigger
protected MTrigger waitqueue
protected MBody body
protected int priority
protected UnparsedExpression precondition
protected MCondition contextcondition
public MBody getBody()
public void setBody(MBody body)
body - The body to set.public MTrigger getTrigger()
public void setTrigger(MTrigger trigger)
trigger - The trigger to set.public MTrigger getWaitqueue()
public void setWaitqueue(MTrigger waitqueue)
waitqueue - The waitqueue to set.public int getPriority()
public void setPriority(int priority)
priority - The priority to set.public UnparsedExpression getPrecondition()
public void setPrecondition(UnparsedExpression precondition)
public MCondition getContextCondition()
public void setContextCondition(MCondition contextcondition)
contextcondition - The contextcondition to set