Package org.bonitasoft.engine.jobs
Class TriggerTimerEventJob
- java.lang.Object
-
- org.bonitasoft.engine.jobs.InternalJob
-
- org.bonitasoft.engine.jobs.TriggerTimerEventJob
-
- All Implemented Interfaces:
java.io.Serializable,StatelessJob
public class TriggerTimerEventJob extends InternalJob
- Author:
- Baptiste Mesta, Elias Ricken de Medeiros, Celine Souchet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.bonitasoft.engine.scheduler.StatelessJob
JOB_COMPLETED, JOB_DESCRIPTOR_ID, JOB_EXECUTING
-
-
Constructor Summary
Constructors Constructor Description TriggerTimerEventJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Execute the content of the job.java.lang.StringgetDescription()Gets the description of the job.java.lang.StringgetName()Gets the job name.voidsetAttributes(java.util.Map<java.lang.String,java.io.Serializable> attributes)This method is called by the scheduler service before the execution of the job-
Methods inherited from class org.bonitasoft.engine.jobs.InternalJob
getTenantServiceAccessor
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:StatelessJobGets the job name.- Returns:
- the job name
-
getDescription
public java.lang.String getDescription()
Description copied from interface:StatelessJobGets the description of the job.- Returns:
- the job description
-
execute
public void execute() throws SJobExecutionException, SRetryableExceptionDescription copied from interface:StatelessJobExecute the content of the job.- Throws:
SJobExecutionException- if an exception occursSRetryableException
-
setAttributes
public void setAttributes(java.util.Map<java.lang.String,java.io.Serializable> attributes) throws SJobConfigurationExceptionDescription 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
-
-