Package | Description |
---|---|
org.mozilla.taskcluster.client.queue |
Modifier and Type | Method and Description |
---|---|
CallSummary<EmptyPayload,TaskStatusResponse> |
Queue.cancelTask(String taskId)
This method will cancel a task that is either
unscheduled , pending or running . |
CallSummary<TaskDefinitionRequest,TaskStatusResponse> |
Queue.createTask(String taskId,
TaskDefinitionRequest payload)
Create a new task, this is an idempotent operation, so repeat it if you get an internal server error or network connection is dropped.
|
CallSummary<TaskDefinitionRequest,TaskStatusResponse> |
Queue.defineTask(String taskId,
TaskDefinitionRequest payload)
Deprecated, this is the same as
createTask with a self-dependency. |
CallSummary<EmptyPayload,TaskStatusResponse> |
Queue.reportCompleted(String taskId,
String runId)
Report a task completed, resolving the run as
completed . |
CallSummary<TaskExceptionRequest,TaskStatusResponse> |
Queue.reportException(String taskId,
String runId,
TaskExceptionRequest payload)
Resolve a run as exception.
|
CallSummary<EmptyPayload,TaskStatusResponse> |
Queue.reportFailed(String taskId,
String runId)
Report a run failed, resolving the run as
failed . |
CallSummary<EmptyPayload,TaskStatusResponse> |
Queue.rerunTask(String taskId)
This method reruns a previously resolved task, even if it was completed.
|
CallSummary<EmptyPayload,TaskStatusResponse> |
Queue.scheduleTask(String taskId)
scheduleTask will schedule a task to be executed, even if it has unresolved dependencies.
|
CallSummary<EmptyPayload,TaskStatusResponse> |
Queue.status(String taskId)
Get task status structure from
taskId |
Copyright © 2014–2018 Mozilla. All rights reserved.