|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ix.ip2.HandlerAction ix.ip2.HandlerAction.Automatic ix.ip2.HandlerAction.AutomaticWhenBound
public static class HandlerAction.AutomaticWhenBound
Handles an item by invoking an item-handler's
handle
method,
but does not become ready until all of the variables
in its AgendaItem's pattern are bound.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ix.ip2.HandlerAction |
---|
HandlerAction.Automatic, HandlerAction.AutomaticWhenBound, HandlerAction.Manual, HandlerAction.NoAction, HandlerAction.NotApplicable |
Field Summary | |
---|---|
(package private) AgendaItem |
item
|
Fields inherited from class ix.ip2.HandlerAction.Automatic |
---|
handler |
Fields inherited from class ix.ip2.HandlerAction |
---|
shortDescription |
Constructor Summary | |
---|---|
HandlerAction.AutomaticWhenBound(AgendaItem item,
ItemHandler h)
|
|
HandlerAction.AutomaticWhenBound(AgendaItem item,
ItemHandler h,
java.lang.String descr)
|
Method Summary | |
---|---|
ActionUnreadyReason |
getUnreadyReason()
Returns a reason giving the unbound variables in the agenda-item's pattern. |
boolean |
isReady()
Returns true iff all variables in the pattern have values. |
Methods inherited from class ix.ip2.HandlerAction.Automatic |
---|
handle |
Methods inherited from class ix.ip2.HandlerAction |
---|
canAlwaysBeTakenNow, computeStatus, getActionDescription, isStillValid, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
AgendaItem item
Constructor Detail |
---|
public HandlerAction.AutomaticWhenBound(AgendaItem item, ItemHandler h)
public HandlerAction.AutomaticWhenBound(AgendaItem item, ItemHandler h, java.lang.String descr)
Method Detail |
---|
public boolean isReady()
isReady
in class HandlerAction
HandlerAction.getUnreadyReason()
public ActionUnreadyReason getUnreadyReason()
getUnreadyReason
in class HandlerAction
HandlerAction.isReady()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |