public class SubstitutionList extends hudson.model.AbstractDescribableImpl<SubstitutionList> implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SubstitutionList.DescriptorImpl
Descriptor for
SubstitutionList . |
Constructor and Description |
---|
SubstitutionList(List<Substitution> items) |
Modifier and Type | Method and Description |
---|---|
List<Substitution> |
getItems() |
Map<String,String> |
toMap(BuildContext context)
Converts the list of substitutions to a Map to be added to the build request, expanding each
value.
|
@DataBoundConstructor public SubstitutionList(List<Substitution> items)
public List<Substitution> getItems()
public Map<String,String> toMap(BuildContext context) throws IOException, InterruptedException
context
- the context of the currently running Jenkins build to use for expanding variable
references in the substitution valuesSubstitutionList
to their corresponding expanded
valuesIOException
- if an I/O error occurs while attempting to expand variablesInterruptedException
- if an interruption occurs while attempting to expand variablesBuildContext.expand(String)
Copyright © 2017–2021 Google. All rights reserved.