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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Execute the content of the job.Gets the description of the job.getName()Gets the job name.voidsetAttributes(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:StatelessJobGets the job name.- Returns:
- the job name
-
getDescription
Description copied from interface:StatelessJobGets the description of the job.- Returns:
- the job description
-
execute
Description copied from interface:StatelessJobExecute the content of the job.- Throws:
SJobExecutionException- if an exception occursSRetryableException
-
setAttributes
Description copied from interface:StatelessJobThis 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
-