For representing the action
For representing the action
Calls the intercepted.flowState.
Calls the intercepted.flowState.
- action will study the state of the inputs in order to generate self assessment
- an instance of the DataFlowActionState
Generates its own guid, different from intercepted
Generates its own guid, different from intercepted
Same values as the intercepted action.
Same values as the intercepted action.
This method calls the intercepted.performAction and if overridden can suppress the default behaviour of the flow and execute something else.
This method calls the intercepted.performAction and if overridden can suppress the default behaviour of the flow and execute something else. It is useful for exploration and debugging work flows, when a user wants to temporarily change the behaviour without touching the main code.
By default it calls intercepted.performAction.
Takes a value of type A and a msg to log, returning a and logging the message at the desired level
Takes a value of type A and a msg to log, returning a and logging the message at the desired level
a
Takes a value of type A and a function message from A to String, logs the value of invoking message(a) at the level described by the level parameter
Takes a value of type A and a function message from A to String, logs the value of invoking message(a) at the level described by the level parameter
a
logAndReturn(1, (num: Int) => s"number: $num", Info) // In the log we would see a log corresponding to "number 1"
Same values as the intercepted action.
Same values as the intercepted action.
Perform the action
Perform the action
the DataFlowEntities corresponding to the inputLabels
context of the flow in which this action runs
the action outputs (these must be declared in the same order as their labels in outputLabels)
same value as the intercepted action.
Interceptors must not override this property, as certain behaviours of the data flow (Ex, execution pools) will be associated with this scheduling guid.
Interceptors must not override this property, as certain behaviours of the data flow (Ex, execution pools) will be associated with this scheduling guid. Also ActionScheduler will use this guid to track scheduled actions.