Class AsyncJobAddedNotification
- java.lang.Object
-
- org.flowable.job.service.impl.asyncexecutor.AsyncJobAddedNotification
-
- All Implemented Interfaces:
CommandContextCloseListener
public class AsyncJobAddedNotification extends Object implements CommandContextCloseListener
- Author:
- Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected AsyncExecutorasyncExecutorprotected JobInfoEntityjob
-
Constructor Summary
Constructors Constructor Description AsyncJobAddedNotification(JobInfoEntity job, AsyncExecutor asyncExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterSessionsFlush(CommandContext commandContext)voidclosed(CommandContext commandContext)voidcloseFailure(CommandContext commandContext)voidclosing(CommandContext commandContext)voidexecute(CommandContext commandContext)booleanmultipleAllowed()Integerorder()
-
-
-
Field Detail
-
job
protected JobInfoEntity job
-
asyncExecutor
protected AsyncExecutor asyncExecutor
-
-
Constructor Detail
-
AsyncJobAddedNotification
public AsyncJobAddedNotification(JobInfoEntity job, AsyncExecutor asyncExecutor)
-
-
Method Detail
-
closed
public void closed(CommandContext commandContext)
- Specified by:
closedin interfaceCommandContextCloseListener
-
execute
public void execute(CommandContext commandContext)
-
closing
public void closing(CommandContext commandContext)
- Specified by:
closingin interfaceCommandContextCloseListener
-
afterSessionsFlush
public void afterSessionsFlush(CommandContext commandContext)
- Specified by:
afterSessionsFlushin 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
-
-