public class LockStepResource extends hudson.model.AbstractDescribableImpl<LockStepResource> implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
LockStepResource.DescriptorImpl |
| Modifier and Type | Field and Description |
|---|---|
String |
label |
int |
quantity |
String |
resource |
| Constructor and Description |
|---|
LockStepResource(String resource) |
| Modifier and Type | Method and Description |
|---|---|
void |
setLabel(String label) |
void |
setQuantity(int quantity) |
String |
toString() |
static String |
toString(String resource,
String label,
int quantity) |
void |
validate()
Label and resource are mutual exclusive.
|
static void |
validate(String resource,
String label,
int quantity)
Label and resource are mutual exclusive.
|
@CheckForNull public String resource
@CheckForNull public String label
public int quantity
@DataBoundConstructor public LockStepResource(String resource)
Copyright © 2013–2020. All rights reserved.