public class WorkerResponse.WorkerAction extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
context
Only actions with the context
worker are included. |
String |
description
Description of the provisioner.
|
String |
method
Method to indicate the desired action to be performed for a given resource.
|
String |
name
Short names for things like logging/error messages.
|
Object |
title
Appropriate title for any sort of Modal prompt.
|
String |
url
When an action is triggered, a request is made using the
url and method. |
| Constructor and Description |
|---|
WorkerAction() |
public String context
Only actions with the context worker are included.
Possible values: * “worker”
public String description
Description of the provisioner.
public String method
Method to indicate the desired action to be performed for a given resource.
Possible values: * “POST” * “PUT” * “DELETE” * “PATCH”
public String name
Short names for things like logging/error messages.
public Object title
Appropriate title for any sort of Modal prompt.
public String url
When an action is triggered, a request is made using the url and method. Depending on the context, the following parameters will be substituted in the url:
context |
Path parameters |
|---|---|
| provisioner | |
| worker-type | |
| worker |
Note: The request needs to be signed with the user’s Taskcluster credentials.
Copyright © 2014–2018 Mozilla. All rights reserved.