Class PendingGoal

java.lang.Object
edu.tufts.hrilab.action.goal.PendingGoal

public class PendingGoal extends Object
  • Constructor Details

  • Method Details

    • getGoal

      public Goal getGoal()
    • getExecutionType

      public ExecutionType getExecutionType()
    • waitForNoLongerPending

      public void waitForNoLongerPending()
      Wait indefinitely for goal to no longer be pending.
    • waitForNoLongerPending

      public boolean waitForNoLongerPending(long millis)
      Wait (up to specified milliseconds) for goal to no longer be pending.
      Parameters:
      millis -
      Returns:
      true: goal is no longer pending. false: goal is pending
    • notifyOfNoLongerPending

      public void notifyOfNoLongerPending()
      This method will notify all waiting threads (i.e., callers of waitForNoLongerPending).
    • getPreviousAIFuture

      public Future getPreviousAIFuture()
    • setPreviousAIFuture

      public void setPreviousAIFuture(Future previousAIFuture)
    • setPreviousStatus

      public void setPreviousStatus(GoalStatus previousAIStatus)
    • getPreviousStatus

      public GoalStatus getPreviousStatus()