Public Member Functions | |
| WorkflowConfiguration (Object jobHandler) | |
| Instantiates a new workflow configuration. | |
| WorkflowConfiguration (Object jobHandler, Grid grid) | |
| Instantiates a new workflow configuration. | |
| Object | getCallingClass () |
| Gets the task callback handler. | |
| Method | getDefaultExceptionCallback () |
| Gets the default exception callback. | |
| boolean | isSetDestroyResourceInstances () |
| Gets the destroing behavior. | |
| boolean | isSetCallingClass () |
| Checks if it is set the task callback handler. | |
| boolean | isSetDefaultExceptionCallback () |
| Checks if it is set the default exception callback. | |
| void | setCallingClass (Object callingClass) |
| Provide an user task callback handler implementation. | |
| void | setDefaultExceptionCallback (Method method) |
| Sets the default exception callback. | |
| void | setDestroyAll (boolean destroyAll) |
| Sets the destroy instances desired behavior. | |
In this class a service programmer can set specific implementations for handle exceptions and callbacks for the tasks contained in the workflow.
| com.abiquo.api.config.WorkflowConfiguration.WorkflowConfiguration | ( | Object | jobHandler | ) |
Instantiates a new workflow configuration.
Without a default ExceptionHandler.
| jobHandler | the task callback handler |
| com.abiquo.api.config.WorkflowConfiguration.WorkflowConfiguration | ( | Object | jobHandler, | |
| Grid | grid | |||
| ) |
Instantiates a new workflow configuration.
With a default ExceptionHandler.
| jobHandler | the task callback handler | |
| grid | the grid instance enabling DefaultExceptionHandler task reallocation |
| Object com.abiquo.api.config.WorkflowConfiguration.getCallingClass | ( | ) |
Gets the task callback handler.
| Method com.abiquo.api.config.WorkflowConfiguration.getDefaultExceptionCallback | ( | ) |
Gets the default exception callback.
| boolean com.abiquo.api.config.WorkflowConfiguration.isSetDestroyResourceInstances | ( | ) |
Gets the destroing behavior.
| boolean com.abiquo.api.config.WorkflowConfiguration.isSetCallingClass | ( | ) |
Checks if it is set the task callback handler.
| boolean com.abiquo.api.config.WorkflowConfiguration.isSetDefaultExceptionCallback | ( | ) |
Checks if it is set the default exception callback.
| void com.abiquo.api.config.WorkflowConfiguration.setCallingClass | ( | Object | callingClass | ) |
Provide an user task callback handler implementation.
| callingClass | the user supplied task callback handler |
| void com.abiquo.api.config.WorkflowConfiguration.setDefaultExceptionCallback | ( | Method | method | ) |
Sets the default exception callback.
| method | the user supplied default exception callback |
| void com.abiquo.api.config.WorkflowConfiguration.setDestroyAll | ( | boolean | destroyAll | ) |
Sets the destroy instances desired behavior.
| destroyAll | the new resources instances destroy behavior |
1.5.5