public class StatusRunSelector extends RunSelector
| Modifier and Type | Class and Description | 
|---|---|
| static class  | StatusRunSelector.BuildStatus | 
| static class  | StatusRunSelector.DescriptorImpl | 
| Constructor and Description | 
|---|
| StatusRunSelector() | 
| StatusRunSelector(StatusRunSelector.BuildStatus buildStatus) | 
| Modifier and Type | Method and Description | 
|---|---|
| StatusRunSelector.BuildStatus | getBuildStatus() | 
| String | getDisplayName()Returns the display name for this selector. | 
| hudson.model.Run<?,?> | getNextBuild(hudson.model.Job<?,?> job,
            RunSelectorContext context)Override this method to implement  RunSelector. | 
selectpublic StatusRunSelector()
@DataBoundConstructor public StatusRunSelector(@CheckForNull StatusRunSelector.BuildStatus buildStatus)
buildStatus - build status of the build to select@Nonnull public StatusRunSelector.BuildStatus getBuildStatus()
@CheckForNull public hudson.model.Run<?,?> getNextBuild(@Nonnull hudson.model.Job<?,?> job, @Nonnull RunSelectorContext context)
RunSelector.
 Use RunSelectorContext.getLastMatchBuild() to
 continue enumerating builds.
 Or you can save the execution state
 with RunSelectorContext.addExtension(Object)getNextBuild in class RunSelectorjob - the job to pick a build from.context - context for the current execution of runselector.public String getDisplayName()
getDisplayName in class RunSelectorCopyright © 2016–2020. All rights reserved.