Package | Description |
---|---|
hudson | |
hudson.model |
Core object model that are bound to URLs via stapler, rooted at Hudson.
|
hudson.model.labels |
Boolean expression over labels.
|
hudson.util |
Other miscellaneous utility code
|
jenkins.util.xstream |
Modifier and Type | Method and Description |
---|---|
static String |
Util.replaceMacro(String s,
VariableResolver<String> resolver)
Replaces the occurrence of '$key' by resolver.get('key').
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
Label.matches(VariableResolver<Boolean> resolver)
Evaluates whether the label expression is true given the specified value assignment.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LabelExpression.Not.matches(VariableResolver<Boolean> resolver) |
boolean |
LabelExpression.Paren.matches(VariableResolver<Boolean> resolver) |
boolean |
LabelExpression.Binary.matches(VariableResolver<Boolean> resolver)
Note that we evaluate both branches of the expression all the time.
|
boolean |
LabelAtom.matches(VariableResolver<Boolean> resolver) |
Modifier and Type | Class and Description |
---|---|
static class |
VariableResolver.ByMap<V>
VariableResolver backed by a Map . |
static class |
VariableResolver.Union<V>
Union of multiple
VariableResolver . |
Modifier and Type | Field and Description |
---|---|
static VariableResolver |
VariableResolver.NONE
Empty resolver that always returns null.
|
Modifier and Type | Method and 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 using
Properties . |
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 using
Properties with masking. |
Constructor and Description |
---|
Union(VariableResolver<? extends V>... resolvers) |
Constructor and Description |
---|
Union(Collection<? extends VariableResolver<? extends V>> resolvers) |
Modifier and Type | Method and Description |
---|---|
XStreamDOM |
XStreamDOM.expandMacro(VariableResolver<String> vars)
Recursively expands the variables in text and attribute values and return the new DOM.
|
Copyright © 2015. All rights reserved.