public class GoalProcessingRules extends Object
Constructor and Description |
---|
GoalProcessingRules() |
Modifier and Type | Method and Description |
---|---|
static void |
changeProcessingState(jadex.rules.state.IOAVState state,
Object rgoal,
Object newstate)
Change the goal processing state.
|
static Object[] |
createAchievegoalSucceededUserRule(Object model)
Create the achievegoal succeeded rule (for goals with target condition).
|
static Object[] |
createGoalRecurUserRule(Object model)
Start recurring a goal, when the ADF recur condition triggers.
|
static jadex.rules.rulesystem.rules.Rule |
createGoalRetryRule()
Create the goal retry rule.
!
|
static jadex.rules.rulesystem.rules.Rule |
createMaintaingoalFailedRule()
Create the maintaingoal failed rule (when the last plan has failed).
|
static Object[] |
createMaintaingoalProcessingUserRule(Object model)
Create maintaingoal processing rule.
|
static Object[] |
createMaintaingoalSucceededUserRule(Object model)
Create the maintaingoal succeeded rule.
|
public static void changeProcessingState(jadex.rules.state.IOAVState state, Object rgoal, Object newstate)
public static Object[] createAchievegoalSucceededUserRule(Object model)
usercond
- The ADF part of the target condition.model
- The goal model element.public static Object[] createMaintaingoalProcessingUserRule(Object model)
usercond
- The ADF part of the maintain condition (will be negated to trigger maintenance).model
- The goal model element.public static Object[] createMaintaingoalSucceededUserRule(Object model)
usercond
- The ADF part of the target condition.model
- The goal model element.public static jadex.rules.rulesystem.rules.Rule createMaintaingoalFailedRule()
public static jadex.rules.rulesystem.rules.Rule createGoalRetryRule()
Copyright © 2012. All Rights Reserved.