Package org.flowable.job.service
Class ScopeAwareInternalJobManager
- java.lang.Object
-
- org.flowable.job.service.ScopeAwareInternalJobManager
-
- All Implemented Interfaces:
InternalJobManager
public abstract class ScopeAwareInternalJobManager extends Object implements InternalJobManager
- Author:
- Filip Hrisafov
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,InternalJobManager>internalJobManagerByScopeType
-
Constructor Summary
Constructors Constructor Description ScopeAwareInternalJobManager()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclearJobScopeLock(Job job)protected abstract voidclearJobScopeLockInternal(Job job)protected InternalJobManagerfindInternalJobManager(Job job)voidhandleJobDelete(Job job)protected abstract voidhandleJobDeleteInternal(Job job)booleanhandleJobInsert(Job job)protected abstract booleanhandleJobInsertInternal(Job job)voidlockJobScope(Job job)protected abstract voidlockJobScopeInternal(Job job)voidpreRepeatedTimerSchedule(TimerJobEntity timerJobEntity, org.flowable.variable.api.delegate.VariableScope variableScope)protected abstract voidpreRepeatedTimerScheduleInternal(TimerJobEntity timerJobEntity, org.flowable.variable.api.delegate.VariableScope variableScope)voidpreTimerJobDelete(JobEntity jobEntity, org.flowable.variable.api.delegate.VariableScope variableScope)protected abstract voidpreTimerJobDeleteInternal(JobEntity jobEntity, org.flowable.variable.api.delegate.VariableScope variableScope)voidregisterScopedInternalJobManager(String scopeType, InternalJobManager internalJobManager)org.flowable.variable.api.delegate.VariableScoperesolveVariableScope(Job job)protected abstract org.flowable.variable.api.delegate.VariableScoperesolveVariableScopeInternal(Job job)
-
-
-
Field Detail
-
internalJobManagerByScopeType
protected Map<String,InternalJobManager> internalJobManagerByScopeType
-
-
Method Detail
-
registerScopedInternalJobManager
public void registerScopedInternalJobManager(String scopeType, InternalJobManager internalJobManager)
- Specified by:
registerScopedInternalJobManagerin interfaceInternalJobManager
-
resolveVariableScope
public final org.flowable.variable.api.delegate.VariableScope resolveVariableScope(Job job)
- Specified by:
resolveVariableScopein interfaceInternalJobManager
-
resolveVariableScopeInternal
protected abstract org.flowable.variable.api.delegate.VariableScope resolveVariableScopeInternal(Job job)
-
handleJobInsert
public final boolean handleJobInsert(Job job)
- Specified by:
handleJobInsertin interfaceInternalJobManager
-
handleJobInsertInternal
protected abstract boolean handleJobInsertInternal(Job job)
-
handleJobDelete
public final void handleJobDelete(Job job)
- Specified by:
handleJobDeletein interfaceInternalJobManager
-
handleJobDeleteInternal
protected abstract void handleJobDeleteInternal(Job job)
-
lockJobScope
public final void lockJobScope(Job job)
- Specified by:
lockJobScopein interfaceInternalJobManager
-
lockJobScopeInternal
protected abstract void lockJobScopeInternal(Job job)
-
clearJobScopeLock
public final void clearJobScopeLock(Job job)
- Specified by:
clearJobScopeLockin interfaceInternalJobManager
-
clearJobScopeLockInternal
protected abstract void clearJobScopeLockInternal(Job job)
-
preTimerJobDelete
public final void preTimerJobDelete(JobEntity jobEntity, org.flowable.variable.api.delegate.VariableScope variableScope)
- Specified by:
preTimerJobDeletein interfaceInternalJobManager
-
preTimerJobDeleteInternal
protected abstract void preTimerJobDeleteInternal(JobEntity jobEntity, org.flowable.variable.api.delegate.VariableScope variableScope)
-
preRepeatedTimerSchedule
public final void preRepeatedTimerSchedule(TimerJobEntity timerJobEntity, org.flowable.variable.api.delegate.VariableScope variableScope)
- Specified by:
preRepeatedTimerSchedulein interfaceInternalJobManager
-
preRepeatedTimerScheduleInternal
protected abstract void preRepeatedTimerScheduleInternal(TimerJobEntity timerJobEntity, org.flowable.variable.api.delegate.VariableScope variableScope)
-
findInternalJobManager
protected InternalJobManager findInternalJobManager(Job job)
-
-