PlanDBEnumOp class
Indicates the operation affecting the DB.
The operation may relate to a single plan or the entire plan DB. For each request, a plan DB may reply with any number of 'in progress' replies followed by a success or a failure reply.
The 'op', 'request_id' and 'plan_id' fields of a request will be echoed in one or more responses to that request. The operation at stake also determines a certain type of the 'arg' field, and whether or not the 'plan_id' field needs to be set.
Constructors
- PlanDBEnumOp(int value)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPrettyString(
) → String -
Output this as a pretty string. Override for propper text.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
names
→ Map<
PlanDBEnumOp, String> -
no setter
-
values
→ List<
PlanDBEnumOp> -
no setter
Constants
- dbop_boot → const PlanDBEnumOp
- PlanDB replies of this type are sent automatically during bootstrap.
- dbop_clear → const PlanDBEnumOp
- Clear the entire DB.
- dbop_del → const PlanDBEnumOp
- Delete a plan from the DB. The 'plan_id' field identifies the plan to delete.
- dbop_get → const PlanDBEnumOp
- Get a plan stored in the DB.The 'plan_id' field identifies the plan. Successful replies will yield a 'PlanSpecification' message in the 'arg' field.
- dbop_get_dstate → const PlanDBEnumOp
- Get detailed state of the entire DB. Successful replies will yield a 'PlanDBState' message in the 'arg' field with individual plan information (in the 'plans_info' field of 'PlanDBState').
- dbop_get_info → const PlanDBEnumOp
- Get DB state for a stored plan. The 'plan_id' field identifies the plan. Successful replies will yield a 'PlanDBInformation' message in the 'arg' field.
- dbop_get_state → const PlanDBEnumOp
- Get state of the entire DB. Successful replies will yield a 'PlanDBState' message in the 'arg' field but without individual plan information (in the 'plans_info' field of 'PlanDBState').
- dbop_set → const PlanDBEnumOp
- Set a plan in the DB. The 'plan_id' field identifies the plan, and a pre-existing plan with the same identifier, if any will be overwritten. For requests, the 'arg' field must contain a 'PlanSpecification' message.