Uses of Interface
hudson.util.VariableResolver
-
Packages that use VariableResolver Package Description hudson hudson.model Core object model that are bound to URLs via stapler, rooted atJenkins
.hudson.model.labels Boolean expression over labels.hudson.util Other miscellaneous utility codejenkins.util.xstream -
-
Uses of VariableResolver in hudson
Methods in hudson with parameters of type VariableResolver Modifier and Type Method Description static 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 VariableResolver Modifier and Type Method Description VariableResolver<String>
BooleanParameterValue. createVariableResolver(AbstractBuild<?,?> build)
VariableResolver<String>
FileParameterValue. createVariableResolver(AbstractBuild<?,?> build)
VariableResolver<String>
ParametersAction. createVariableResolver(AbstractBuild<?,?> build)
Creates anVariableResolver
that aggregates all the parameters.VariableResolver<String>
ParameterValue. createVariableResolver(AbstractBuild<?,?> build)
Returns aVariableResolver
so that other components likeBuilder
s can perform variable substitution to reflect parameter values into the build process.VariableResolver<String>
PasswordParameterValue. createVariableResolver(AbstractBuild<?,?> build)
VariableResolver<String>
StringParameterValue. createVariableResolver(AbstractBuild<?,?> build)
VariableResolver<String>
AbstractBuild. getBuildVariableResolver()
CreatesVariableResolver
backed byAbstractBuild.getBuildVariables()
.Methods in hudson.model with parameters of type VariableResolver Modifier and Type Method Description abstract 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 VariableResolver Modifier and Type Method Description boolean
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 VariableResolver Modifier and Type Class Description static class
VariableResolver.ByMap<V>
VariableResolver
backed by aMap
.static class
VariableResolver.Union<V>
Union of multipleVariableResolver
.Fields in hudson.util declared as VariableResolver Modifier and Type Field Description static VariableResolver
VariableResolver. NONE
Empty resolver that always returns null.Methods in hudson.util with parameters of type VariableResolver Modifier and Type Method Description ArgumentListBuilder
ArgumentListBuilder. addKeyValuePairsFromPropertyString(String prefix, String properties, VariableResolver<String> vr)
Adds key value pairs as "-Dkey=value -Dkey=value ..." by parsing a given string usingProperties
.ArgumentListBuilder
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 VariableResolver Constructor Description Union(VariableResolver<? extends V>... resolvers)
Constructor parameters in hudson.util with type arguments of type VariableResolver Constructor Description Union(Collection<? extends VariableResolver<? extends V>> resolvers)
-
Uses of VariableResolver in jenkins.util.xstream
Methods in jenkins.util.xstream with parameters of type VariableResolver Modifier and Type Method Description XStreamDOM
XStreamDOM. expandMacro(VariableResolver<String> vars)
Recursively expands the variables in text and attribute values and return the new DOM.
-