ix.iplan
Class IPlanConditionHandler.SatisfyAction
java.lang.Object
ix.ip2.HandlerAction
ix.iplan.IPlanConditionHandler.SatisfyAction
- Enclosing class:
- IPlanConditionHandler
class IPlanConditionHandler.SatisfyAction
- extends HandlerAction
Method Summary |
protected void |
adjustStatus(AgendaItem item)
|
protected void |
bind(java.util.Map newBindings)
|
void |
computeStatus()
Called when something has happened that might have changed
this action's ready status. |
void |
handle(AgendaItem item)
Handle the item in the manner appropriate to this handler-action. |
boolean |
isReady()
Indicates whether this action is ready to be used or else
is waiting for something that would enable it to be used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
item
AgendaItem item
env
MatchEnv env
filters
ix.icore.domain.ListOfConstraint filters
filterEnvs
java.util.List filterEnvs
unboundVariables
java.util.Set unboundVariables
IPlanConditionHandler.SatisfyAction
IPlanConditionHandler.SatisfyAction(AgendaItem item)
isReady
public boolean isReady()
- Description copied from class:
HandlerAction
- Indicates whether this action is ready to be used or else
is waiting for something that would enable it to be used.
The method in the HandlerAction class just returns true
and is overridden in subclasses that have instances that
are not always ready.
- Overrides:
isReady
in class HandlerAction
- See Also:
HandlerAction.getUnreadyReason()
computeStatus
public void computeStatus()
- Description copied from class:
HandlerAction
- Called when something has happened that might have changed
this action's ready status. The method in the HandlerAction
class does nothing and is overridden in subclasses that have
instances that are not always ready.
- Overrides:
computeStatus
in class HandlerAction
handle
public void handle(AgendaItem item)
- Description copied from class:
HandlerAction
- Handle the item in the manner appropriate to this handler-action.
The method in the HandlerAction class merely changes the item's
status to COMPLETE and is overridden in subclasses that handle
the item in more interesting ways.
- Overrides:
handle
in class HandlerAction
bind
protected void bind(java.util.Map newBindings)
adjustStatus
protected void adjustStatus(AgendaItem item)