Uses of Class
org.jmonks.batch.framework.ErrorCode

Packages that use ErrorCode
org.jmonks.batch.framework   
org.jmonks.batch.framework.config   
org.jmonks.batch.framework.controller.basic   
org.jmonks.batch.framework.controller.pool   
org.jmonks.batch.framework.management   
 

Uses of ErrorCode in org.jmonks.batch.framework
 

Fields in org.jmonks.batch.framework declared as ErrorCode
static ErrorCode ErrorCode.JOB_COMPLETED_SUCCESSFULLY
          Represents job got completed successfully.
static ErrorCode ErrorCode.JOB_COMPLETED_WITH_ERRORS
          Represents job got completed with errors.
static ErrorCode ErrorCode.JOB_INVOKATION_CONFIGURAION_ERROR
          Represents the configuration error used to invoke the job.
static ErrorCode ErrorCode.FRAMEWORK_CONFIGURATION_ERROR
          Represents the framework configuration error.
static ErrorCode ErrorCode.JOB_CONFIG_FACTORY_CONFIGURATION_ERROR
          Represents the job config factory configuration error.
static ErrorCode ErrorCode.JOB_CONFIGURATION_ERROR
          Represents the job configuration error.
static ErrorCode ErrorCode.JOB_IS_NOT_CONFIGURED
          Represents the job is not configured error.
static ErrorCode ErrorCode.JOB_CONTROLLER_CONFIGURATION_ERROR
          Represents the job controller configuration error.
static ErrorCode ErrorCode.JOB_LOGGING_CONFIGURATION_ERROR
          Represents the logging configuration error.
static ErrorCode ErrorCode.JOB_REPOSITORY_CONFIGURATION_ERROR
          Represents the repository configuration error.
static ErrorCode ErrorCode.JOB_CONNECTOR_CONFIGURATION_ERROR
          Represents the connector configuration error.
static ErrorCode ErrorCode.UNKNOWN_CONFIGURATION_ERROR
          Represents the unknown configuration error.
static ErrorCode ErrorCode.BASIC_JOB_PROCESSOR_EXCEPTION
          Represents error because of the exception in basic job processor.
static ErrorCode ErrorCode.POOL_JOB_LOADER_EXCEPTION
          Represents error because of the exception in pool job loader.
static ErrorCode ErrorCode.POOL_JOB_PROCESSOR_EXCEPTION
          Represents error because of the exception in pool job processor.
 

Methods in org.jmonks.batch.framework that return ErrorCode
static ErrorCode Main.process(java.util.Map configMap)
           This method provides the interface to execute the job from another java program.
 ErrorCode JobStatistics.getExitCode()
          Gets the exit code.
abstract  ErrorCode JobController.process()
          This method will be called by the Main to process the job.
 ErrorCode ErrorCode.appendMessage(java.lang.String messageToBeAppended)
          Creates a new ErrorCode object with the same error code and appends the given message to the existing message and returns new ErrorCode.
static ErrorCode ErrorCode.createErrorCode(int newCode, java.lang.String newMessage)
          Creates a new error code instance by accepting the code and message.
 

Methods in org.jmonks.batch.framework with parameters of type ErrorCode
 void JobStatistics.setExitCode(ErrorCode exitCode)
          Sets the given error code as exit code.
 

Uses of ErrorCode in org.jmonks.batch.framework.config
 

Methods in org.jmonks.batch.framework.config that return ErrorCode
 ErrorCode ConfigurationException.getErrorCode()
          Traslates the configuration exception into error code to be retruned to the clients.
 

Uses of ErrorCode in org.jmonks.batch.framework.controller.basic
 

Methods in org.jmonks.batch.framework.controller.basic that return ErrorCode
abstract  ErrorCode BasicJobProcessor.process(JobContext jobContext)
           Does the processing and return the appropriate error code.
 ErrorCode BasicJobController.process()
           Executes the job by running the configured number of basic job processors and returns the appropriate errorcode.
 

Uses of ErrorCode in org.jmonks.batch.framework.controller.pool
 

Methods in org.jmonks.batch.framework.controller.pool that return ErrorCode
 ErrorCode PoolJobProcessor.processPool(JobContext jobContext, JobPool pool)
           Process the job data available in the job pool until the job loader done loading of all the job data into the pool.
 ErrorCode PoolJobLoader.loadPool(JobContext jobContext, JobPool pool)
           Loads the job data that needs to be processed in to the job pool.
 ErrorCode PoolJobController.process()
           Executes the job by creating the pool, loader and processor(s) based on the configuration and have them work accordingly to process the job.
 ErrorCode AbstractPoolJobProcessor.processPool(JobContext jobContext, JobPool pool)
           Initializes the processor implementation by calling the initialize method by passing job context reference, gets the job data from the pool and passes that information to the processor implementation for processing and cleans up the processor implementation by calling the cleanup method.
abstract  ErrorCode AbstractPoolJobProcessor.process(java.lang.Object jobData)
          Execute the business logic on the given jobData and return the appropriate error code.
 ErrorCode AbstractPoolJobLoader.loadPool(JobContext jobContext, JobPool pool)
          Abstracts the job pool details from the final loader by defining other set of methods for the final loader and implements the management and monitoring related methods.
abstract  ErrorCode AbstractPoolJobLoader.loadPool(JobContext jobContext)
           Load the job data into the pool that needs to be processed by job processor(s).
 

Uses of ErrorCode in org.jmonks.batch.framework.management
 

Methods in org.jmonks.batch.framework.management with parameters of type ErrorCode
 boolean JobManagementAgent.stop(ErrorCode exitCode)
          Stops the JMX connector server, unregisters the MBeans and MBeanServer and unregisters the jmx service url information from lookup location and marks stopped flag as true to indicate that agent has been stopped.