Package com.avoka.fc.core.service.job
Class JobEventLogService
java.lang.Object
com.avoka.fc.core.service.BaseService
com.avoka.fc.core.service.CayenneService
com.avoka.fc.core.service.job.JobEventLogService
Provides a Job Event Logging service.
- Since:
- 4.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
logErrorEventWithAction
(String message, JobAction jobAction) Log a job error event with the given message and job actionvoid
logErrorEventWithJob
(String message, Job job) Log a job error event with the given message and job actionvoid
logInfoEventWithAction
(String message, JobAction jobAction) Log a job info event with the given message and job actionvoid
logInfoEventWithJob
(String message, Job job) Log a job info event with the given message and job actionprotected void
logJobEvent
(String type, String message, Job job, JobAction jobAction) void
logWarnEventWithAction
(String message, JobAction jobAction) Log a job warn event with the given message and job actionvoid
logWarnEventWithJob
(String message, Job job) Log a job warn event with the given message and job actionMethods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
Constructor Details
-
JobEventLogService
public JobEventLogService()
-
-
Method Details
-
logErrorEventWithAction
Log a job error event with the given message and job action- Parameters:
message
- error message (required)jobAction
- the job action to be associated with the event log
-
logErrorEventWithJob
Log a job error event with the given message and job action- Parameters:
message
- error message (required)job
- the job to be associated with the event log
-
logWarnEventWithAction
Log a job warn event with the given message and job action- Parameters:
message
- error message (required)jobAction
- the job action to be associated with the event log
-
logWarnEventWithJob
Log a job warn event with the given message and job action- Parameters:
message
- error message (required)job
- the job to be associated with the event log
-
logInfoEventWithAction
Log a job info event with the given message and job action- Parameters:
message
- error message (required)jobAction
- the job action to be associated with the event log
-
logInfoEventWithJob
Log a job info event with the given message and job action- Parameters:
message
- error message (required)job
- the job to be associated with the event log
-
logJobEvent
-