public class MonitoringJobListener extends java.lang.Object implements BonitaJobListener
BOS_JOB, JOB_DATAS, JOB_DESCRIPTOR_ID, JOB_GROUP, JOB_NAME, JOB_RESULT, JOB_TYPE, REFIRE_COUNT, TENANT_ID, TRIGGER_GROUP, TRIGGER_NAME, TRIGGER_NEXT_FIRE_TIME, TRIGGER_PREVIOUS_FIRE_TIME| Constructor and Description |
|---|
MonitoringJobListener() |
| Modifier and Type | Method and Description |
|---|---|
long |
getNumberOfExecutedJobs(java.lang.Long tenantId) |
long |
getNumberOfExecutingJobs(java.lang.Long tenantId) |
void |
jobExecutionVetoed(java.util.Map<java.lang.String,java.io.Serializable> context) |
void |
jobToBeExecuted(java.util.Map<java.lang.String,java.io.Serializable> context) |
void |
jobWasExecuted(java.util.Map<java.lang.String,java.io.Serializable> context,
java.lang.Exception jobException) |
public void jobToBeExecuted(java.util.Map<java.lang.String,java.io.Serializable> context)
jobToBeExecuted in interface BonitaJobListenerpublic void jobExecutionVetoed(java.util.Map<java.lang.String,java.io.Serializable> context)
jobExecutionVetoed in interface BonitaJobListenerpublic void jobWasExecuted(java.util.Map<java.lang.String,java.io.Serializable> context,
java.lang.Exception jobException)
jobWasExecuted in interface BonitaJobListenerpublic long getNumberOfExecutingJobs(java.lang.Long tenantId)
public long getNumberOfExecutedJobs(java.lang.Long tenantId)