|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreGoalCallback
Interface for callbacks that occur after a Goal
's
prerequisites have been met, but before any Goal
-specific
actions have been taken.
Callbacks implementing this interface have the opportunity to
change the state of the environment, potentially causing the
Goal
's Action.requiresAction()
to return a
different answer.
Goal.attain(com.werken.werkz.Session)
,
Action.requiresAction()
,
Action.performAction(com.werken.werkz.Session)
Method Summary | |
---|---|
void |
firePreGoal(Goal goal)
Fire the callback. |
Method Detail |
---|
void firePreGoal(Goal goal) throws java.lang.Exception
goal
- The Goal
.
java.lang.Exception
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |