public interface RunningJob extends JobRunnerRequest
This adds management capabilities to a job runner request.
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Requests that the job be cancelled.
|
getJobConfig, getJobId, getStartTime, isCancellationRequestedvoid cancel()
Calling this method changes the return value of JobRunnerRequest.isCancellationRequested() permanently
to true. It has no other effect; in particular, it does not interrupt the thread that
is running the job. It is the responsibility of the job runner implementation to cooperatively
check for an respond to the JobRunnerRequest.isCancellationRequested() flag.
Copyright © 2017 Atlassian. All rights reserved.