|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMPlan
Model element of a plan.
Field Summary |
---|
Fields inherited from interface jadex.model.IMReferenceableElement |
---|
EXPORTED_FALSE, EXPORTED_SHIELDED, EXPORTED_TRUE |
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, getExported, setExported |
Methods inherited from interface jadex.model.IMElement |
---|
check, getChildren, getDescription, getEncodableRepresentation, getName, getOwner, getReport, getScope, getSystemExpressionParameters, setDescription, setName |
Method Detail |
---|
int getPriority()
void setPriority(int priority)
priority
- The priority used when selecting this plan.IMPlanBody getBody()
IMPlanBody createBody(String expression, String type)
expression
- The expression string.type
- The plan body type.
void deleteBody()
IMPlanTrigger getTrigger()
IMPlanTrigger createTrigger()
void deleteTrigger()
IMTrigger getWaitqueue()
IMTrigger createWaitqueue()
void deleteWaitqueue()
IMExpression getPrecondition()
IMExpression createPrecondition(String expression)
expression
- The expression string.
void deletePrecondition()
IMCondition getContextCondition()
IMCondition createContextCondition(String expression)
expression
- The expression string.
void deleteContextCondition()
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.96-beta1 | ||||||||
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.