Class SchedulerVetoProvider
java.lang.Object
net.datenwerke.rs.condition.service.condition.hookers.SchedulerVetoProvider
- All Implemented Interfaces:
Hook,SchedulerExecutionHook
-
Constructor Summary
ConstructorsConstructorDescriptionSchedulerVetoProvider(ConditionService conditionService, HookHandlerService hookHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidactionExecutionAboutToStart(AbstractJob job, ExecutionLogEntry logEntry) happens outside a transaction ..voidactionExecutionEndedAbnormally(AbstractJob job, AbstractAction action, ActionEntry actionEntry, Exception e) within transactionvoidactionExecutionEndedSuccessfully(AbstractJob job, AbstractAction action, ExecutionLogEntry logEntry) wrapped in transactiondoesVetoActionExecution(AbstractJob job, ExecutionLogEntry logEntry) doesVetoExecution(AbstractJob job, ExecutionLogEntry logEntry) voidexecutionEndedAbnormally(AbstractJob job, ExecutionLogEntry logEntry, Exception e) wrapped in transactionvoidexecutionEndedSuccessfully(AbstractJob job, ExecutionLogEntry logEntry) wrapped in transactionvoidinformAboutVeto(AbstractJob job, ExecutionLogEntry logEntry, VetoActionExecution veto) voidinformAboutVeto(AbstractJob job, ExecutionLogEntry logEntry, VetoJobExecution veto) voidjobExecutionAboutToStart(AbstractJob job, ExecutionLogEntry logEntry) happens outside a transaction ..voidjobExecutionEndedAbnormally(AbstractJob job, JobEntry jobEntry, Exception e) within transaction
-
Constructor Details
-
Method Details
-
jobExecutionAboutToStart
Description copied from interface:SchedulerExecutionHookhappens outside a transaction ..- Specified by:
jobExecutionAboutToStartin interfaceSchedulerExecutionHook- Parameters:
job-logEntry-
-
actionExecutionAboutToStart
Description copied from interface:SchedulerExecutionHookhappens outside a transaction ..- Specified by:
actionExecutionAboutToStartin interfaceSchedulerExecutionHook- Parameters:
job-logEntry-
-
executionEndedSuccessfully
Description copied from interface:SchedulerExecutionHookwrapped in transaction- Specified by:
executionEndedSuccessfullyin interfaceSchedulerExecutionHook- Parameters:
job-logEntry-
-
executionEndedAbnormally
Description copied from interface:SchedulerExecutionHookwrapped in transaction- Specified by:
executionEndedAbnormallyin interfaceSchedulerExecutionHook- Parameters:
job-logEntry-e-
-
doesVetoExecution
- Specified by:
doesVetoExecutionin interfaceSchedulerExecutionHook- Parameters:
job-logEntry-
-
doesVetoActionExecution
- Specified by:
doesVetoActionExecutionin interfaceSchedulerExecutionHook- Parameters:
job-logEntry-
-
informAboutVeto
- Specified by:
informAboutVetoin interfaceSchedulerExecutionHook- Parameters:
job-logEntry-
-
actionExecutionEndedAbnormally
public void actionExecutionEndedAbnormally(AbstractJob job, AbstractAction action, ActionEntry actionEntry, Exception e) Description copied from interface:SchedulerExecutionHookwithin transaction- Specified by:
actionExecutionEndedAbnormallyin interfaceSchedulerExecutionHook
-
jobExecutionEndedAbnormally
Description copied from interface:SchedulerExecutionHookwithin transaction- Specified by:
jobExecutionEndedAbnormallyin interfaceSchedulerExecutionHook
-
actionExecutionEndedSuccessfully
public void actionExecutionEndedSuccessfully(AbstractJob job, AbstractAction action, ExecutionLogEntry logEntry) Description copied from interface:SchedulerExecutionHookwrapped in transaction- Specified by:
actionExecutionEndedSuccessfullyin interfaceSchedulerExecutionHook- Parameters:
job-action-logEntry-
-
informAboutVeto
- Specified by:
informAboutVetoin interfaceSchedulerExecutionHook
-