com.abiquo.api.config.WorkflowConfiguration Class Reference

Maintains the configuration of the workflow behavior. More...

List of all members.

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.


Detailed Description

Maintains the configuration of the workflow behavior.

In this class a service programmer can set specific implementations for handle exceptions and callbacks for the tasks contained in the workflow.


Constructor & Destructor Documentation

com.abiquo.api.config.WorkflowConfiguration.WorkflowConfiguration ( Object  jobHandler  ) 

Instantiates a new workflow configuration.

Without a default ExceptionHandler.

Parameters:
jobHandler the task callback handler

com.abiquo.api.config.WorkflowConfiguration.WorkflowConfiguration ( Object  jobHandler,
Grid  grid 
)

Instantiates a new workflow configuration.

With a default ExceptionHandler.

Parameters:
jobHandler the task callback handler
grid the grid instance enabling DefaultExceptionHandler task reallocation


Member Function Documentation

Object com.abiquo.api.config.WorkflowConfiguration.getCallingClass (  ) 

Gets the task callback handler.

Returns:
the supplied task callback handler

Method com.abiquo.api.config.WorkflowConfiguration.getDefaultExceptionCallback (  ) 

Gets the default exception callback.

Returns:
the default exception callback

boolean com.abiquo.api.config.WorkflowConfiguration.isSetDestroyResourceInstances (  ) 

Gets the destroing behavior.

Returns:
true if is enabled destroy instances

boolean com.abiquo.api.config.WorkflowConfiguration.isSetCallingClass (  ) 

Checks if it is set the task callback handler.

Returns:
true, if some task callback handler is provided

boolean com.abiquo.api.config.WorkflowConfiguration.isSetDefaultExceptionCallback (  ) 

Checks if it is set the default exception callback.

Returns:
true, if some default exception callback is provided

void com.abiquo.api.config.WorkflowConfiguration.setCallingClass ( Object  callingClass  ) 

Provide an user task callback handler implementation.

Parameters:
callingClass the user supplied task callback handler

void com.abiquo.api.config.WorkflowConfiguration.setDefaultExceptionCallback ( Method  method  ) 

Sets the default exception callback.

Parameters:
method the user supplied default exception callback

void com.abiquo.api.config.WorkflowConfiguration.setDestroyAll ( boolean  destroyAll  ) 

Sets the destroy instances desired behavior.

Parameters:
destroyAll the new resources instances destroy behavior


The documentation for this class was generated from the following file:

Generated on Mon Sep 15 20:13:10 2008 for FrameworkAPI by  doxygen 1.5.5