Package arez
Class ActionFlags
java.lang.Object
arez.ActionFlags
Flags that can be passed to configure actions.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Do not report result to spy infrastructure.static final int
This flag can be passed to skip verification that action was required.static final int
The action can only read arez state.static final int
The action can read or write arez state.static final int
The action must create a new transaction and will not use containing transaction.static final int
If passed to an action, the the action must verify that an action performed an activity that required a transaction. -
Method Summary
-
Field Details
-
READ_ONLY
The action can only read arez state.- See Also:
-
READ_WRITE
The action can read or write arez state.- See Also:
-
NO_REPORT_RESULT
Do not report result to spy infrastructure.- See Also:
-
REQUIRE_NEW_TRANSACTION
The action must create a new transaction and will not use containing transaction.- See Also:
-
VERIFY_ACTION_REQUIRED
If passed to an action, the the action must verify that an action performed an activity that required a transaction. These activities include:- read or write an observable property.
- read a computable property.
- schedule an observer.
- mark an observer as stale.
- report possible change in computable property.
This flag must not be present if
NO_VERIFY_ACTION_REQUIRED
is present. If neither VERIFY_ACTION_REQUIRED norNO_VERIFY_ACTION_REQUIRED
is specified then VERIFY_ACTION_REQUIRED is assumed.- See Also:
-
NO_VERIFY_ACTION_REQUIRED
This flag can be passed to skip verification that action was required. This flag must not be present ifVERIFY_ACTION_REQUIRED
is present.- See Also:
-