@Extension public class BuildAPI extends AbstractAPIActionHandler
Bound to ${{rootURL}/job/<jobname>/builds/*}
ExtensionPoint.LegacyInstancesAreScopedToHudson
target, URL_BASE
Constructor and Description |
---|
BuildAPI() |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalBuilds(Job job,
List<Run> builds,
int size,
boolean shouldReverse) |
static Fingerprint.RangeSet |
createRangeSet(Job job,
int start,
int size,
boolean shouldReverse) |
static <T> Predicate<T> |
distinctByKey(Function<? super T,?> keyExtractor) |
BuildResponse |
doBuilds(int start,
int size,
String orderBy) |
BuildResponse |
doIndex(int start,
int size,
String orderBy) |
static String |
getUrl(Job job) |
createFor, getDisplayName, getIconFileName, getJob, getUrlName, type
actionType, factoriesFor
public BuildResponse doIndex(@QueryParameter int start, @QueryParameter int size, @QueryParameter String orderBy)
public BuildResponse doBuilds(@QueryParameter int start, @QueryParameter int size, @QueryParameter String orderBy)
public void addAdditionalBuilds(Job job, List<Run> builds, int size, boolean shouldReverse)
public static Fingerprint.RangeSet createRangeSet(Job job, int start, int size, boolean shouldReverse)
Copyright © 2016–2022. All rights reserved.