Package edu.tufts.hrilab.action.recovery
Class PolicyConstraints
java.lang.Object
edu.tufts.hrilab.action.recovery.PolicyConstraints
Constraints that define when a RecoveryPolicy is applicable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe corresponding recovery policy is applicable to these action statuses.The corresponding recovery policy is NOT applicable to these failed actions.The corresponding recovery policy is NOT applicable to these failure reasons.The corresponding recovery policy is NOT applicable to these goals.The corresponding recovery policy is applicable to these failed actions.The corresponding recovery policy is applicable to these failure reasons.The corresponding recovery policy is applicable to these goals. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
goals
The corresponding recovery policy is applicable to these goals. Can be empty (i.e., applies to all goals). Cannot be used at the same time as excludedGoals. -
excludedGoals
The corresponding recovery policy is NOT applicable to these goals. Can be empty (i.e., applies to all goals). Cannot be used at the same time as goals. -
failedActions
The corresponding recovery policy is applicable to these failed actions. Can be empty (i.e., applies to all failed actions). Cannot be used at the same time as excludedFailedActions. -
excludedFailedActions
The corresponding recovery policy is NOT applicable to these failed actions. Can be empty (i.e., applies to all failed actions). Cannot be used at the same time as failedActions. -
failureReasons
The corresponding recovery policy is applicable to these failure reasons. Can be empty (i.e., applies to all failure reasons). Cannot be used at the same time as excludedFailureReasons. If an action failure has more than one failure reason, a single policy must handle all the failure reasons. -
excludedFailureReasons
The corresponding recovery policy is NOT applicable to these failure reasons. Can be empty (i.e., applies to all failure reasons). Cannot be used at the same time as failureReasons. -
actionStatuses
The corresponding recovery policy is applicable to these action statuses. Can be empty (i.e., applies to all action statuses).
-
-
Constructor Details
-
PolicyConstraints
public PolicyConstraints()
-