public interface ActionGenerator
Modifier and Type | Method and Description |
---|---|
Action |
getFirstAction()
This method is invoked only once to obtain the first action.
|
default boolean |
isReadOnly()
Return
false unless it is guaranteed that all procedures are also read only. |
default boolean |
restrictProcedureByScope()
If this method returns
true that means the type of procedure which this scheduler can run is restricted
based upon the scope type. |
getDependencies
Action getFirstAction()
callback
will be invoked
with the result
of this action. The return of the callback will be used as the next action.
If this method throws an exception or returns null
the task instance will halted and put into an error
state.
Action
to performdefault boolean restrictProcedureByScope()
true
that means the type of procedure which this scheduler can run is restricted
based upon the scope type.
Default return is false
true
if the type of procedure this scheduler can run should be restricted based upon scopedefault boolean isReadOnly()
false
unless it is guaranteed that all procedures are also read only.true
if all procedures returned by this instance are read only