Uses of Interface
hudson.util.VariableResolver
Package
Description
Core object model that are bound to URLs via stapler, rooted at
Jenkins
.Boolean expression over labels.
Other miscellaneous utility code
-
Uses of VariableResolver in hudson
Modifier and TypeMethodDescriptionstatic String
Util.replaceMacro
(String s, VariableResolver<String> resolver) Replaces the occurrence of '$key' byresolver.get('key')
. -
Uses of VariableResolver in hudson.model
Modifier and TypeMethodDescriptionBooleanParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) FileParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) ParametersAction.createVariableResolver
(AbstractBuild<?, ?> build) Creates anVariableResolver
that aggregates all the parameters.ParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) Returns aVariableResolver
so that other components likeBuilder
s can perform variable substitution to reflect parameter values into the build process.PasswordParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) StringParameterValue.createVariableResolver
(AbstractBuild<?, ?> build) final VariableResolver<String>
AbstractBuild.getBuildVariableResolver()
CreatesVariableResolver
backed byAbstractBuild.getBuildVariables()
.Modifier and TypeMethodDescriptionabstract boolean
Label.matches
(VariableResolver<Boolean> resolver) Evaluates whether the label expression is true given the specified value assignment. -
Uses of VariableResolver in hudson.model.labels
Modifier and TypeMethodDescriptionboolean
LabelAtom.matches
(VariableResolver<Boolean> resolver) boolean
LabelExpression.Binary.matches
(VariableResolver<Boolean> resolver) Note that we evaluate both branches of the expression all the time.boolean
LabelExpression.Not.matches
(VariableResolver<Boolean> resolver) boolean
LabelExpression.Paren.matches
(VariableResolver<Boolean> resolver) -
Uses of VariableResolver in hudson.util
Modifier and TypeClassDescriptionstatic final class
VariableResolver
backed by aMap
.static final class
Union of multipleVariableResolver
.Modifier and TypeFieldDescriptionstatic final VariableResolver
VariableResolver.NONE
Empty resolver that always returns null.Modifier and TypeMethodDescriptionArgumentListBuilder.addKeyValuePairsFromPropertyString
(String prefix, String properties, VariableResolver<String> vr) Adds key value pairs as "-Dkey=value -Dkey=value ..." by parsing a given string usingProperties
.ArgumentListBuilder.addKeyValuePairsFromPropertyString
(String prefix, String properties, VariableResolver<String> vr, Set<String> propsToMask) Adds key value pairs as "-Dkey=value -Dkey=value ..." by parsing a given string usingProperties
with masking.ModifierConstructorDescriptionUnion
(Collection<? extends VariableResolver<? extends V>> resolvers) -
Uses of VariableResolver in jenkins.util.xstream
Modifier and TypeMethodDescriptionXStreamDOM.expandMacro
(VariableResolver<String> vars) Recursively expands the variables in text and attribute values and return the new DOM.