Uses of Interface
hudson.util.VariableResolver
Packages that use 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
Methods in hudson with parameters of type VariableResolverModifier and TypeMethodDescriptionstatic String
Util.replaceMacro
(String s, VariableResolver<String> resolver) Replaces the occurrence of '$key' byresolver.get('key')
. -
Uses of VariableResolver in hudson.model
Methods in hudson.model that return VariableResolverModifier 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()
.Methods in hudson.model with parameters of type VariableResolverModifier 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
Methods in hudson.model.labels with parameters of type VariableResolverModifier 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
Classes in hudson.util that implement VariableResolverModifier and TypeClassDescriptionstatic final class
VariableResolver
backed by aMap
.static final class
Union of multipleVariableResolver
.Fields in hudson.util declared as VariableResolverModifier and TypeFieldDescriptionstatic final VariableResolver
VariableResolver.NONE
Empty resolver that always returns null.Methods in hudson.util with parameters of type VariableResolverModifier 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.Constructors in hudson.util with parameters of type VariableResolverConstructor parameters in hudson.util with type arguments of type VariableResolverModifierConstructorDescriptionUnion
(Collection<? extends VariableResolver<? extends V>> resolvers) -
Uses of VariableResolver in jenkins.util.xstream
Methods in jenkins.util.xstream with parameters of type VariableResolverModifier and TypeMethodDescriptionXStreamDOM.expandMacro
(VariableResolver<String> vars) Recursively expands the variables in text and attribute values and return the new DOM.