| Package | Description |
|---|---|
| ca.eandb.jdcp.remote |
| Modifier and Type | Method and Description |
|---|---|
JobStatus |
JobStatus.asCancelled()
Creates a copy of this
JobStatus with the state set to
JobState.CANCELLED. |
JobStatus |
JobStatus.asComplete()
Creates a copy of this
JobStatus with the state set to
JobState.COMPLETE. |
JobStatus |
JobService.getJobStatus(UUID jobId)
Gets the current status of the specified job.
|
JobStatus |
JobService.waitForJobStatusChange(long lastEventId,
long timeoutMillis)
Waits for a status change for any job hosted on this server.
|
JobStatus |
JobService.waitForJobStatusChange(UUID jobId,
long lastEventId,
long timeoutMillis)
Waits for a status change for the specified job.
|
JobStatus |
JobStatus.withIndeterminantProgress()
Creates a copy of this
JobStatus with the progress set to
an indeterminant value (Double.NaN). |
JobStatus |
JobStatus.withNewEventId()
Creates a copy of this
JobStatus with an auto-generated
event ID. |
JobStatus |
JobStatus.withProgress(double newProgress)
Creates a copy of this
JobStatus with the progress set to
the specified value. |
JobStatus |
JobStatus.withStatus(String newStatus)
Creates a copy of this
JobStatus with the status string set
to the specified value. |
| Modifier and Type | Method and Description |
|---|---|
void |
JobStatusMonitor.updateStatus(JobStatus newStatus)
Updates the appropriate
ProgressMonitor (creating one if
necessary) according to the new status of the job. |
Copyright © 2016. All rights reserved.