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
-
public class JobEventLogService extends CayenneService
Provides a Job Event Logging service.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description JobEventLogService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 action-
Methods 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
-
-
-
-
Method Detail
-
logErrorEventWithAction
public void logErrorEventWithAction(String message, JobAction jobAction)
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
public void logErrorEventWithJob(String message, Job job)
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
public void logWarnEventWithAction(String message, JobAction jobAction)
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
public void logWarnEventWithJob(String message, Job job)
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
public void logInfoEventWithAction(String message, JobAction jobAction)
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
public void logInfoEventWithJob(String message, Job job)
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
-
-