public class CleanInvalidSessionsJob extends InternalJob
JOB_COMPLETED, JOB_DESCRIPTOR_ID, JOB_EXECUTING| Constructor and Description |
|---|
CleanInvalidSessionsJob() |
| 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
|
getTenantServiceAccessorpublic String getName()
StatelessJobpublic String getDescription()
StatelessJobpublic void execute()
throws SJobExecutionException
StatelessJobSJobExecutionException - if an exception occurspublic void setAttributes(Map<String,Serializable> attributes)
StatelessJobattributes - key is the name of the attribute
value is the value of the attributeCopyright © 2018 Bonitasoft S.A.. All rights reserved.