public interface StatelessJob
extends java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JOB_COMPLETED |
static java.lang.String |
JOB_DESCRIPTOR_ID |
static java.lang.String |
JOB_EXECUTING |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Execute the content of the job.
|
java.lang.String |
getDescription()
Gets the description of the job.
|
java.lang.String |
getName()
Gets the job name.
|
void |
setAttributes(java.util.Map<java.lang.String,java.io.Serializable> attributes)
This method is called by the scheduler service before the execution of the job
|
static final java.lang.String JOB_EXECUTING
static final java.lang.String JOB_COMPLETED
static final java.lang.String JOB_DESCRIPTOR_ID
java.lang.String getName()
java.lang.String getDescription()
void execute()
throws SJobExecutionException,
SFireEventException
SJobExecutionException - if an exception occursSFireEventExceptionvoid setAttributes(java.util.Map<java.lang.String,java.io.Serializable> attributes)
throws SJobConfigurationException
attributes - key is the name of the attribute
value is the value of the attributeSJobConfigurationException