public class RequiredResourcesProperty
extends hudson.model.JobProperty<hudson.model.Job<?,?>>
| Modifier and Type | Class and Description |
|---|---|
static class |
RequiredResourcesProperty.DescriptorImpl |
| Constructor and Description |
|---|
RequiredResourcesProperty(String resourceNames,
String resourceNamesVar,
String resourceNumber,
String labelName)
Deprecated.
groovy script was added (since 2.0)
|
RequiredResourcesProperty(String resourceNames,
String resourceNamesVar,
String resourceNumber,
String labelName,
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript resourceMatchScript) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabelName() |
org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript |
getResourceMatchScript()
Gets a system Groovy script to be executed in order to determine if the
LockableResource matches the condition. |
String |
getResourceNames() |
String |
getResourceNamesVar() |
String |
getResourceNumber() |
String[] |
getResources() |
@DataBoundConstructor public RequiredResourcesProperty(String resourceNames, String resourceNamesVar, String resourceNumber, String labelName, @CheckForNull org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript resourceMatchScript)
@Deprecated public RequiredResourcesProperty(String resourceNames, String resourceNamesVar, String resourceNumber, String labelName)
public String[] getResources()
public String getResourceNames()
public String getResourceNamesVar()
public String getResourceNumber()
public String getLabelName()
@CheckForNull public org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript getResourceMatchScript()
LockableResource matches the condition.LockableResource.scriptMatches(org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript, java.util.Map)Copyright © 2013–2020. All rights reserved.