public interface Job
Modifier and Type | Method and Description |
---|---|
void |
destroy()
This method will be invoked once before the job engine shutdown
so that some cleanups can be done.
|
ExecutionResult |
execute(java.lang.String paramValue)
The real job should be done in this method.
|
void |
init()
This method will be invoked after the creation of the job class instance
so that some possible preparations can be done.
|
void |
kill()
This method will be invoked if the administrator wants the job execution
to terminate.
|
void destroy()
ExecutionResult execute(java.lang.String paramValue)
paramValue
- Job parameter value. A job has only one parameter
in the form of a String. The parameter value is supplied when the user
creates the job using the createJob() method of the ConsolidatorManager class.void init()
void kill()