|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Model element of a plan.
Method Summary | |
IMPlanBody |
createBody(String expression,
String type)
Create the body expression. |
IMCondition |
createContextCondition(String expression)
Create a context condition for the plan. |
IMPlanParameter |
createPlanParameter(String name,
Class clazz,
String direction,
long updaterate,
String expression,
String mode,
String[] ies,
String[] mes,
String[] goals)
Create a new plan parameter. |
IMExpression |
createPrecondition(String expression)
Create a precondition for the plan. |
IMPlanTrigger |
createTrigger()
Create new the trigger for the plan. |
IMTrigger |
createWaitqueue()
Create new the waitqueue for the plan. |
void |
deleteBody()
Delete the plan body expression. |
void |
deleteContextCondition()
Delete the context condition of the plan. |
void |
deletePrecondition()
Delete the precondition of the plan. |
void |
deleteTrigger()
Delete the trigger of the plan. |
void |
deleteWaitqueue()
Delete the waitqueue of the plan. |
IMPlanBody |
getBody()
Get the body expression. |
IMCondition |
getContextCondition()
Get the context condition of the plan. |
IMExpression |
getPrecondition()
Get the precondition of the plan. |
int |
getPriority()
Get the plan priotity. |
IMPlanTrigger |
getTrigger()
Get the trigger of the plan (if any). |
IMTrigger |
getWaitqueue()
Get the waitqueue of the plan (if any). |
void |
setPriority(int priority)
Set the plan priotity. |
Methods inherited from interface jadex.model.IMParameterElement |
createParameter, createParameterSet, deleteParameter, deleteParameterSet, getBindingParameters, getParameter, getParameters, getParameterSet, getParameterSets |
Methods inherited from interface jadex.model.IMReferenceableElement |
createAssignTo, deleteAssignTo, getAssignToElements, getAssignTos, isExported, setExported |
Methods inherited from interface jadex.model.IMElement |
check, getChildren, getDescription, getEncodableRepresentation, getExpressionParameters, getName, getOwner, getReport, getScope, setDescription, setName |
Method Detail |
public int getPriority()
public void setPriority(int priority)
priority
- The priority used when selecting this plan.public IMPlanBody getBody()
public IMPlanBody createBody(String expression, String type)
expression
- The expression string.type
- The plan body type.
public void deleteBody()
public IMPlanTrigger getTrigger()
public IMPlanTrigger createTrigger()
public void deleteTrigger()
public IMTrigger getWaitqueue()
public IMTrigger createWaitqueue()
public void deleteWaitqueue()
public IMExpression getPrecondition()
public IMExpression createPrecondition(String expression)
expression
- The expression string.
public void deletePrecondition()
public IMCondition getContextCondition()
public IMCondition createContextCondition(String expression)
expression
- The expression string.
public void deleteContextCondition()
public IMPlanParameter createPlanParameter(String name, Class clazz, String direction, long updaterate, String expression, String mode, String[] ies, String[] mes, String[] goals)
name
- The name of the parameter.clazz
- The class for values.updaterate
- The updaterate (or -1 for none).expression
- The default value expression (if any).mode
- The evaluation mode.ies
- The internal event parameter mappings.mes
- The message event parameter mappings.goals
- The goal parameter mappings.
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.