demo.inpro.system.greifarm
Class ActionIU

java.lang.Object
  extended by inpro.incremental.unit.IU
      extended by demo.inpro.system.greifarm.ActionIU
All Implemented Interfaces:
java.lang.Comparable<IU>
Direct Known Subclasses:
ActionIU.StartActionIU

public class ActionIU
extends IU


Nested Class Summary
protected static class ActionIU.StartActionIU
           
 
Nested classes/interfaces inherited from class inpro.incremental.unit.IU
IU.IUUpdateListener, IU.Progress
 
Field Summary
private  ActionStrength actionStrength
           
private  int distanceToGoal
           
protected  double goalPosition
          store the planned goal position
protected static GreifarmController greifarm
           
private static org.apache.log4j.Logger logger
           
private  boolean precedesPause
           
private  ActionType type
           
 
Fields inherited from class inpro.incremental.unit.IU
creationTime, FIRST_IU, groundedIn, grounds, nextSameLevelLinks, previousSameLevelLink
 
Constructor Summary
private ActionIU()
           
(package private) ActionIU(ActionIU sll, java.util.List<? extends IU> groundingWords, ActionType type, ActionStrength strengthModifier)
           
 
Method Summary
 void commit()
          COMMITs this IU.
private  void execute()
           
 ActionType getType()
           
 boolean isWeak()
           
 void precedesPause(boolean precedesPause)
           
private  ActionIU predecessor()
           
 ActionType realizedDirection()
           
private  void reexecute()
           
 void revoke()
          COMMITs this IU.
 java.lang.String toPayLoad()
           
 
Methods inherited from class inpro.incremental.unit.IU
addNextSameLevelLink, addUpdateListener, compareTo, connectSLL, deepToString, duration, endTime, equals, getAge, getAmongNextSameLevelLinks, getCreationTime, getID, getNextSameLevelLink, getNextSameLevelLinks, getOngoingGroundedIU, getProgress, getSameLevelLink, ground, groundedIn, groundIn, groundIn, grounds, hashCode, isCommitted, isCompleted, isOngoing, isRevoked, isUpcoming, notifyListeners, payloadEquals, removeAllNextSameLevelLinks, removeGrin, removeGrin, reorderNextSameLevelLink, setAsTopNextSameLevelLink, setSameLevelLink, startTime, toLabelLine, toString, toTEDviewXML, updateOnGrinUpdates
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

private static final org.apache.log4j.Logger logger

type

private ActionType type

precedesPause

private boolean precedesPause

actionStrength

private ActionStrength actionStrength

goalPosition

protected double goalPosition
store the planned goal position


distanceToGoal

private int distanceToGoal

greifarm

protected static GreifarmController greifarm
Constructor Detail

ActionIU

private ActionIU()

ActionIU

ActionIU(ActionIU sll,
         java.util.List<? extends IU> groundingWords,
         ActionType type,
         ActionStrength strengthModifier)
Method Detail

execute

private void execute()

reexecute

private void reexecute()

realizedDirection

public ActionType realizedDirection()

predecessor

private ActionIU predecessor()

getType

public ActionType getType()

isWeak

public boolean isWeak()

precedesPause

public void precedesPause(boolean precedesPause)

toPayLoad

public java.lang.String toPayLoad()
Specified by:
toPayLoad in class IU

revoke

public void revoke()
Description copied from class: IU
COMMITs this IU.

Overrides:
revoke in class IU

commit

public void commit()
Description copied from class: IU
COMMITs this IU.

Overrides:
commit in class IU