public interface PreGoalCallback
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.
Modifier and Type | Method and Description |
---|---|
void |
firePreGoal(Goal goal)
Fire the callback.
|
void firePreGoal(Goal goal) throws java.lang.Exception
goal
- The Goal
.java.lang.Exception
- if an error occurs.Copyright © 2001-2013 Apache Software Foundation. All Rights Reserved.