Class LockStepResource
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<LockStepResource>
-
- org.jenkins.plugins.lockableresources.LockStepResource
-
- All Implemented Interfaces:
Describable<LockStepResource>
,Serializable
public class LockStepResource extends AbstractDescribableImpl<LockStepResource> implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LockStepResource.DescriptorImpl
-
Constructor Summary
Constructors Constructor Description LockStepResource(String resource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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, String resourceSelectStrategy, boolean hasExtra, int priority, boolean inversePrecedence)
Label and resource are mutual exclusive.static void
validate(String resource, String label, String resourceSelectStrategy, List<LockStepResource> extra, int priority, boolean inversePrecedence)
Validate input parameters-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
LockStepResource
@DataBoundConstructor public LockStepResource(@Nullable String resource)
-
-
Method Detail
-
setLabel
@DataBoundSetter public void setLabel(String label)
-
setQuantity
@DataBoundSetter public void setQuantity(int quantity)
-
validate
public void validate()
Label and resource are mutual exclusive.
-
validate
public static void validate(String resource, String label, String resourceSelectStrategy, List<LockStepResource> extra, int priority, boolean inversePrecedence)
Validate input parameters
-
-