Modifier and Type | Method and Description |
---|---|
void |
LinkService.addPaginationLinks(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo)
Add pagination links to the pageResponse.
|
void |
LinkServiceImpl.addPaginationLinks(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo) |
void |
LinkService.addPaginationLinks(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation)
Add pagination links to the pageResponse.
|
void |
LinkServiceImpl.addPaginationLinks(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation) |
void |
LinkService.addPaginationSelfLink(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation)
Add pagination self link only to the pageResponse.
|
void |
LinkServiceImpl.addPaginationSelfLink(RestPageModel<?> page,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation) |
Modifier and Type | Method and Description |
---|---|
<T extends AbstractRestModel> |
PaginationServiceImpl.getExpandablePage(PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation) |
<T extends AbstractRestModel> |
PaginationService.getExpandablePage(PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo,
String pageLocation)
Constructs a
RestPageModel which is an empty page with a self link. |
<W,T extends AbstractRestModel> |
PaginationServiceImpl.getPage(Iterable<W> input,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo,
RestConversionFunction<? super W,T> transformer) |
<W,T extends AbstractRestModel> |
PaginationService.getPage(Iterable<W> input,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo,
RestConversionFunction<? super W,T> transformer)
Transforms a list of domain objects to
AbstractRestModel s and constructs a RestPageModel from the
result. |
<W,T extends AbstractRestModel> |
PaginationServiceImpl.getPage(Iterable<W> input,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo,
RestConversionFunction<? super W,T> transformer,
String pageLocation) |
<W,T extends AbstractRestModel> |
PaginationService.getPage(Iterable<W> input,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo,
RestConversionFunction<? super W,T> transformer,
String pageLocation)
Transforms a list of domain objects to
AbstractRestModel s and constructs a RestPageModel from the
result. |
Modifier and Type | Field and Description |
---|---|
static RestPageModel<RestJob> |
PlanConfigResource.ALL_JOBS |
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestJob> |
PlanConfigResource.getJobsForPlan(String planKeyString,
Expansion expansion,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Retrieves all jobs for a build plan.
|
Modifier and Type | Field and Description |
---|---|
static RestPageModel<RestStage> |
StageConfigResource.ALL_STAGES |
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestStage> |
StageConfigResource.getAllStagesForPlan(String planKeyString,
Expansion expansion,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Retrieves all the stages that make up a build plan.
|
Modifier and Type | Field and Description |
---|---|
static RestPageModel<RestJob> |
JobConfigResource.ALL_JOBS |
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestJob> |
JobConfigResource.getAllJobsForStage(String planKeyString,
long stageId,
PageRequest pageRequest,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo)
Return all jobs for the given stage.
|
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestJob> |
RestArtifactServiceImpl.getJobsConsumingArtifact(PlanKey jobKey,
long artifactId,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo) |
RestPageModel<RestJob> |
RestArtifactService.getJobsConsumingArtifact(PlanKey jobKey,
long artifactId,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated lists of jobs subscribing to a specified artifact.
|
RestPageModel<RestJob> |
ArtifactResource.getJobsConsumingArtifact(String jobKeyString,
long artifactId,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Returns a paginated list of
jobs subscribing a specified artifact. |
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestTask> |
TaskConfigResource.getAllTasksForJob(String planKeyString,
long stageId,
String jobKeyString,
Expansion expansion,
PageRequest pageRequest,
javax.ws.rs.core.UriInfo uriInfo)
Return all tasks for a given job.
|
Modifier and Type | Method and Description |
---|---|
static <T> RestPageModel<T> |
RestPageModel.expandable(PageRequest pageRequest)
Construct a page model for an expandable result list, without any results yet.
|
static <T> RestPageModel<T> |
RestPageModel.forItems(PageRequest pageRequest,
Iterable<T> items)
Construct a page model for a result list.
|
static <T> RestPageModel<T> |
RestPageModel.forItems(PageRequest pageRequest,
Iterable<T> items,
boolean more)
Construct a page model for a result list.
|
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestStage> |
RestPlanConfig.getStages() |
Modifier and Type | Method and Description |
---|---|
void |
RestPlanConfig.setStages(RestPageModel<RestStage> stages) |
RestPlanConfig.Builder |
RestPlanConfig.Builder.stages(RestPageModel<RestStage> stages) |
Modifier and Type | Method and Description |
---|---|
RestPageModel<RestJob> |
RestStage.getJobs() |
Modifier and Type | Method and Description |
---|---|
RestStage.Builder |
RestStage.Builder.jobs(RestPageModel<RestJob> jobs) |
void |
RestStage.setJobs(RestPageModel<RestJob> jobs) |
Modifier and Type | Method and Description |
---|---|
RestJob.Builder |
RestJob.Builder.tasks(RestPageModel<RestTask> tasks) |
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.