public interface ActionGenerator
|Modifier and Type||Method and Description|
This method is invoked only once to obtain the first action.
If this method returns
callbackwill be invoked with the
resultof 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
default boolean restrictProcedureByScope()
truethat means the type of procedure which this scheduler can run is restricted based upon the scope type.
Default return is
trueif the type of procedure this scheduler can run should be restricted based upon scope
default boolean isReadOnly()
falseunless it is guaranteed that all procedures are also read only.
trueif all procedures returned by this instance are read only