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