ExecutorState enum
The state of an Executor.
The runtime state has the following state machine:
+----------------------------------------------------------------+ +-----------+
| +---------+ +-------------+ +---------+ +---------+ | -> | undefined |
| | created | -> | initialized | -> | started | <-> | stopped | | +-----------+
| +---------+ +-------------+ +---------+ +---------+ |
| | | | +-----------+
| +--- restart --+ | -> | disposed |
+----------------------------------------------------------------+ +-----------+
Values
- created → const ExecutorState
-
Created and ready to be initialized.
- initialized → const ExecutorState
-
Initialized and ready to be started.
- started → const ExecutorState
-
Started and active in data collection. Can be restarted in this state.
- stopped → const ExecutorState
-
Stopped and not collecting data. Can be started again in this state.
- disposed → const ExecutorState
-
Permanently disposed. Cannot be used anymore.
- undefined → const ExecutorState
-
Undefined state.
Typically an executor becomes undefined if it cannot be initialized or if this executor (probe) is not supported on the specific phone / OS.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
ExecutorState> - A constant List of the values in this enum, in order of their declaration.