Package pro.taskana.task.internal.jobs
Class TaskRefreshJob
- java.lang.Object
-
- pro.taskana.common.internal.jobs.AbstractTaskanaJob
-
- pro.taskana.task.internal.jobs.TaskRefreshJob
-
- All Implemented Interfaces:
TaskanaJob
public class TaskRefreshJob extends AbstractTaskanaJob
This class executes a job of type TaskRefreshJob.
-
-
Field Summary
Fields Modifier and Type Field Description static StringPRIORITY_CHANGEDstatic StringSERVICE_LEVEL_CHANGEDstatic StringTASK_IDS-
Fields inherited from class pro.taskana.common.internal.jobs.AbstractTaskanaJob
firstRun, runEvery, scheduledJob, taskanaEngineImpl, txProvider
-
-
Constructor Summary
Constructors Constructor Description TaskRefreshJob(TaskanaEngine engine, TaskanaTransactionProvider txProvider, ScheduledJob job)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()protected StringgetType()StringtoString()-
Methods inherited from class pro.taskana.common.internal.jobs.AbstractTaskanaJob
createFromScheduledJob, getFirstRun, getLockExpirationPeriod, getNextDueForJob, getRunEvery, initializeSchedule, isAsync, run, scheduleNextJob
-
-
-
-
Field Detail
-
TASK_IDS
public static final String TASK_IDS
- See Also:
- Constant Field Values
-
PRIORITY_CHANGED
public static final String PRIORITY_CHANGED
- See Also:
- Constant Field Values
-
SERVICE_LEVEL_CHANGED
public static final String SERVICE_LEVEL_CHANGED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TaskRefreshJob
public TaskRefreshJob(TaskanaEngine engine, TaskanaTransactionProvider txProvider, ScheduledJob job)
-
-
Method Detail
-
execute
public void execute() throws TaskanaException- Specified by:
executein classAbstractTaskanaJob- Throws:
TaskanaException
-
getType
protected String getType()
- Specified by:
getTypein classAbstractTaskanaJob
-
-