Package pro.taskana.common.internal
Class JobServiceImpl
java.lang.Object
pro.taskana.common.internal.JobServiceImpl
- All Implemented Interfaces:
JobService
Controls all job activities.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateJob(ScheduledJob job) Initializes the given ScheduledJob and inserts it into the database.voiddeleteJob(ScheduledJob job) voiddeleteJobs(String jobType) lockJob(ScheduledJob job, String owner)
-
Field Details
-
JOB_DEFAULT_PRIORITY
public static final int JOB_DEFAULT_PRIORITY- See Also:
-
-
Constructor Details
-
JobServiceImpl
-
-
Method Details
-
createJob
Description copied from interface:JobServiceInitializes the given ScheduledJob and inserts it into the database.- Specified by:
createJobin interfaceJobService- Parameters:
job- the job to be created- Returns:
- the created job
-
deleteJobs
-
lockJob
-
findJobsToRun
-
deleteJob
-