Class PageRequestSanitiser
java.lang.Object
com.atlassian.bamboo.rest.model.pagination.PageRequestSanitiser
We must mandate the maximum allowed number of items to return in any query to prevent putting to much load on the server
This class provides utilities for sanitising the urls based on the data being requested.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PageRequest
static final PageRequest
static final PageRequest
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PageRequest
forAnything
(PageRequest originalRequest) static PageRequest
forJobs
(PageRequest originalRequest) static PageRequest
forStages
(PageRequest originalRequest) static PageRequest
forTasks
(PageRequest originalRequest)
-
Field Details
-
TASK_MAX
public static final int TASK_MAX- See Also:
-
JOB_MAX
public static final int JOB_MAX- See Also:
-
STAGE_MAX
public static final int STAGE_MAX- See Also:
-
DEFAULT_TASK_PAGE_REQUEST
-
DEFAULT_JOB_PAGE_REQUEST
-
DEFAULT_STAGE_PAGE_REQUEST
-
-
Constructor Details
-
PageRequestSanitiser
public PageRequestSanitiser()
-
-
Method Details
-
forAnything
-
forTasks
-
forJobs
-
forStages
-