Modifier and Type | Class and Description |
---|---|
static class |
DownstreamRunFilter.DescriptorImpl
the descriptor for
DownstreamRunFilter |
Constructor and Description |
---|
DownstreamRunFilter(String upstreamProjectName,
String upstreamBuildNumber)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getUpstreamBuildNumber() |
String |
getUpstreamProjectName() |
boolean |
isSelectable(hudson.model.Run<?,?> run,
RunSelectorContext context) |
all, allWithNoRunFilter, getDescriptor, getDisplayName
@DataBoundConstructor public DownstreamRunFilter(@CheckForNull String upstreamProjectName, @CheckForNull String upstreamBuildNumber)
upstreamProjectName
- Upstream project name.upstreamBuildNumber
- Upstream build number.@Nonnull public String getUpstreamProjectName()
@Nonnull public String getUpstreamBuildNumber()
public boolean isSelectable(@Nonnull hudson.model.Run<?,?> run, @Nonnull RunSelectorContext context)
isSelectable
in class RunFilter
run
- the build to checkcontext
- the context of current runselector execution.Copyright © 2016–2020. All rights reserved.