Modifier and Type | Method and Description |
---|---|
boolean |
containsGoal(IGoal goal)
Test if an adopted goal is already contained in the goal base.
|
IGoal |
createGoal(java.lang.String type)
Create a goal from a template goal.
|
<T> IFuture<T> |
dispatchTopLevelGoal(IGoal goal)
Dispatch a new top-level goal.
|
IGoal[] |
getGoals()
Get all the adopted goals in this scope (including subgoals).
|
IGoal[] |
getGoals(java.lang.String type)
Get all proprietary goals of a specified type (=model element name).
|
getModelElement
boolean containsGoal(IGoal goal)
goal
- The goal to test.IGoal[] getGoals(java.lang.String type)
type
- The goal type.IGoal[] getGoals()
IGoal createGoal(java.lang.String type)
type
- The template goal name as specified in the ADF.