Class PersistentContext
java.lang.Object
edu.tufts.hrilab.action.execution.Context
edu.tufts.hrilab.action.execution.PersistentContext
This represents the semantics of a persistent action in an action script.
-
Field Summary
Fields inherited from class edu.tufts.hrilab.action.execution.Context
caller, childContexts, cmd, constraints, endTime, log, maxTime, startTime, stateMachine -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeep copy of the context, its status, and its childrenprotected ContextGet the next step (i.e., context) to be executed.Methods inherited from class edu.tufts.hrilab.action.execution.Context
acquireLocks, addEvent, addEvent, addEvent, causedFailure, copyInternal, createSimulatedEquivalent, doStep, getActor, getActualLogicalValue, getArgument, getArguments, getArgumentSilent, getArgumentType, getArgumentValue, getChildContexts, getCommand, getConstraints, getContextDescription, getContextDescription, getDuration, getElapsedTime, getEndTime, getEquivalentContext, getEvaluatedArgument, getExecType, getId, getJustification, getLocalArgument, getLogicalValue, getMaxTime, getNearestTerminatedAncestor, getNextStep, getParentContext, getRootContext, getSignatureInPredicateForm, getStartTime, getStateMachine, getStateUpdates, getStatus, hasNormCheckingAncestor, isAction, isApproved, isAsynchronous, isFailure, isSimulation, isSuccess, isTerminated, performAdditionalStatusUpdates, releaseLocks, resetConcreteContext, resetContext, resetCoreContext, setChildContexts, setConstraints, setEndTime, setExecType, setLogicalValue, setStartTime, setStartTime, setStateMachine, setStatus, setStatus, setTimeout, setupNextStep, setupNextStep, startOverAllMonitor, toString, updatePerformanceModels, verifyEffects, verifyReturnValue, waitForTermination, waitForTermination
-
Constructor Details
-
PersistentContext
-
-
Method Details
-
getNextStepForType
Description copied from class:ContextGet the next step (i.e., context) to be executed. Returns null if there are no more steps. TODO: remove this method- Overrides:
getNextStepForTypein classContext- Returns:
-
copy
Description copied from class:Contextdeep copy of the context, its status, and its children
-