|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Model element of a maintain goal.
Field Summary |
Fields inherited from interface jadex.model.IMGoal |
EXCLUDE_NEVER, EXCLUDE_WHEN_FAILED, EXCLUDE_WHEN_SUCCEEDED, EXCLUDE_WHEN_TRIED |
Method Summary | |
IMCondition |
createMaintainCondition(String expression)
Create a maintain condition for the goal. |
IMCondition |
createTargetCondition(String expression)
Create a target condition for the goal. |
void |
deleteMaintainCondition()
Delete the maintain condition of the goal. |
void |
deleteTargetCondition()
Delete the target condition of the goal. |
IMCondition |
getMaintainCondition()
Get the maintain condition of the goal. |
long |
getRecurDelay()
Get the recur delay. |
IMCondition |
getTargetCondition()
Get the target condition of the goal. |
boolean |
isRecur()
Get the recur flag. |
void |
setRecur(boolean recur)
Set the recur flag. |
void |
setRecurDelay(long recurdelay)
Set the recur delay flag. |
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 IMCondition getTargetCondition()
public IMCondition createTargetCondition(String expression)
expression
- The expression string.
public void deleteTargetCondition()
public IMCondition getMaintainCondition()
public IMCondition createMaintainCondition(String expression)
expression
- The expression string.
public void deleteMaintainCondition()
public boolean isRecur()
public void setRecur(boolean recur)
recur
- The flag indicating if this goal should be retried when the first plan fails.public long getRecurDelay()
public void setRecurDelay(long recurdelay)
recurdelay
- The delay between retries of the goal (in milliseconds) or -1 for no delay.
|
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.