public final class ResourceRequirementProperty extends JobProperty<Job<?,?>> implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ResourceRequirementProperty.Desc |
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
owner
BUILDERS, PUBLISHERS
Constructor and Description |
---|
ResourceRequirementProperty(List<String> resources) |
Modifier and Type | Method and Description |
---|---|
ResourceBlockage |
evaluate(GatingMetrics availability)
Evaluate availability and return run/no-run decision.
|
List<String> |
getResources() |
getDescriptor, getJobAction, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
@CheckForNull public ResourceBlockage evaluate(GatingMetrics availability)
availability
- Real world state of resourcesCopyright © 2016–2021. All rights reserved.