Modifier and Type | Class and Description |
---|---|
static class |
ParameterizedRunFilter.DescriptorImpl
the descriptor for
ParameterizedRunFilter |
Constructor and Description |
---|
ParameterizedRunFilter(String parameter) |
Modifier and Type | Method and Description |
---|---|
static String |
encodeToXml(RunFilter filter) |
static RunFilter |
getFilterFromXml(String xml) |
String |
getParameter() |
static void |
initAliases() |
boolean |
isSelectable(hudson.model.Run<?,?> candidate,
RunSelectorContext context) |
all, allWithNoRunFilter, getDescriptor, getDisplayName
@DataBoundConstructor public ParameterizedRunFilter(@CheckForNull String parameter)
parameter
- XML expression of the filters, usually including variable expression.@Nonnull public String getParameter()
public boolean isSelectable(hudson.model.Run<?,?> candidate, RunSelectorContext context)
isSelectable
in class RunFilter
candidate
- the build to checkcontext
- the context of current runselector execution.@CheckForNull public static RunFilter getFilterFromXml(@CheckForNull String xml)
xml
- XML expression of the filters@CheckForNull public static String encodeToXml(@CheckForNull RunFilter filter)
filter
- filters@Initializer(after=PLUGINS_STARTED) public static void initAliases()
Copyright © 2016–2020. All rights reserved.