public class FallbackRunSelector extends RunSelector
| Modifier and Type | Class and Description |
|---|---|
static class |
FallbackRunSelector.DescriptorImpl |
static class |
FallbackRunSelector.Entry
An entry for
FallbackRunSelector |
| Constructor and Description |
|---|
FallbackRunSelector(List<FallbackRunSelector.Entry> entryList) |
FallbackRunSelector(RunSelector... runSelectors)
Convenient constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<FallbackRunSelector.Entry> |
getEntryList() |
hudson.model.Run<?,?> |
select(hudson.model.Job<?,?> job,
RunSelectorContext context) |
getDisplayName, getNextBuild@DataBoundConstructor public FallbackRunSelector(@Nonnull List<FallbackRunSelector.Entry> entryList)
entryList - run selector to trypublic FallbackRunSelector(@Nonnull RunSelector... runSelectors)
runSelectors - run selector to trypublic List<FallbackRunSelector.Entry> getEntryList()
@CheckForNull public hudson.model.Run<?,?> select(@Nonnull hudson.model.Job<?,?> job, @Nonnull RunSelectorContext context) throws IOException, InterruptedException
select in class RunSelectorjob - the job to pick a build from.context - context for the current execution of runselector.IOException - if an error occurs while performing the operation.InterruptedException - if any thread interrupts the current thread.Copyright © 2016–2020. All rights reserved.