Class BackgroundJobResponse
java.lang.Object
com.atlassian.confluence.impl.backgroundjob.BackgroundJobResponse
Information returned by a background service. Contains information about where the task should be marked as completed or not
when the next execution time, what the new job parameters should be set.
- Since:
- 8.1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic BackgroundJobResponse
static BackgroundJobResponse
scheduleNextRun
(ChronoUnit unit, int duration, Map<String, Object> parameters) static BackgroundJobResponse
scheduleNextRunNow
(Map<String, Object> parameters)
-
Method Details
-
scheduleNextRun
public static BackgroundJobResponse scheduleNextRun(ChronoUnit unit, int duration, Map<String, Object> parameters) -
scheduleNextRunNow
-
markJobAsFinished
-
getNewState
-
getNextRunAt
-
getNewParameters
-
getErrorMessage
-