Package org.bonitasoft.engine.jobs
Class TriggerTimerEventJob
java.lang.Object
org.bonitasoft.engine.jobs.InternalJob
org.bonitasoft.engine.jobs.TriggerTimerEventJob
- All Implemented Interfaces:
Serializable
,StatelessJob
- Author:
- Baptiste Mesta, Elias Ricken de Medeiros, Celine Souchet
- See Also:
-
Field Summary
Fields inherited from interface org.bonitasoft.engine.scheduler.StatelessJob
JOB_COMPLETED, JOB_DESCRIPTOR_ID, JOB_EXECUTING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Execute the content of the job.Gets the description of the job.getName()
Gets the job name.void
setAttributes
(Map<String, Serializable> attributes) This method is called by the scheduler service before the execution of the jobMethods inherited from class org.bonitasoft.engine.jobs.InternalJob
getServiceAccessor
-
Constructor Details
-
TriggerTimerEventJob
public TriggerTimerEventJob()
-
-
Method Details
-
getName
Description copied from interface:StatelessJob
Gets the job name.- Returns:
- the job name
-
getDescription
Description copied from interface:StatelessJob
Gets the description of the job.- Returns:
- the job description
-
execute
Description copied from interface:StatelessJob
Execute the content of the job.- Throws:
SJobExecutionException
- if an exception occursSRetryableException
-
setAttributes
Description copied from interface:StatelessJob
This method is called by the scheduler service before the execution of the job- Parameters:
attributes
- key is the name of the attribute value is the value of the attribute- Throws:
SJobConfigurationException
-