LocalSessionPolicy class
Capability and permission policy for a local execution session.
Keeping this policy separate makes the session responsible for execution while this object owns the rules that decide which operations are exposed.
Constructors
- LocalSessionPolicy({required ApplicationTestServices services, required EnsembleTestHarness? harness, required SessionPermissions permissions})
Properties
- capabilities → SessionCapabilities
-
final
- harness → EnsembleTestHarness?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- permissions → SessionPermissions
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- services → ApplicationTestServices
-
final
Methods
-
ensureActionNamePermitted(
String name) → void -
ensureLifecycleOperationPermitted(
String name) → void -
ensurePrivilegedOperationPermitted(
String name) → void -
ensureWaitKindPermitted(
String waitKind) → void -
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