Class FailedJobListener
- java.lang.Object
-
- org.flowable.job.service.impl.asyncexecutor.FailedJobListener
-
- All Implemented Interfaces:
CommandContextCloseListener
public class FailedJobListener extends Object implements CommandContextCloseListener
- Author:
- Frederik Heremans, Saeid Mirzaei, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected CommandExecutorcommandExecutorprotected Jobjobprotected JobServiceConfigurationjobServiceConfiguration
-
Constructor Summary
Constructors Constructor Description FailedJobListener(CommandExecutor commandExecutor, Job job, JobServiceConfiguration jobServiceConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterSessionsFlush(CommandContext commandContext)voidclosed(CommandContext context)voidcloseFailure(CommandContext commandContext)voidclosing(CommandContext commandContext)booleanmultipleAllowed()Integerorder()
-
-
-
Field Detail
-
commandExecutor
protected CommandExecutor commandExecutor
-
job
protected Job job
-
jobServiceConfiguration
protected JobServiceConfiguration jobServiceConfiguration
-
-
Constructor Detail
-
FailedJobListener
public FailedJobListener(CommandExecutor commandExecutor, Job job, JobServiceConfiguration jobServiceConfiguration)
-
-
Method Detail
-
closing
public void closing(CommandContext commandContext)
- Specified by:
closingin interfaceCommandContextCloseListener
-
afterSessionsFlush
public void afterSessionsFlush(CommandContext commandContext)
- Specified by:
afterSessionsFlushin interfaceCommandContextCloseListener
-
closed
public void closed(CommandContext context)
- Specified by:
closedin interfaceCommandContextCloseListener
-
closeFailure
public void closeFailure(CommandContext commandContext)
- Specified by:
closeFailurein interfaceCommandContextCloseListener
-
order
public Integer order()
- Specified by:
orderin interfaceCommandContextCloseListener
-
multipleAllowed
public boolean multipleAllowed()
- Specified by:
multipleAllowedin interfaceCommandContextCloseListener
-
-