- All Implemented Interfaces:
Pageable<T>
, Reachable
, Iterable<T>
- Direct Known Subclasses:
BlueArtifactContainer
, BlueFavoriteContainer
, BlueOrganizationContainer
, BluePipelineContainer
, BluePipelineNodeContainer
, BluePipelineStepContainer
, BlueQueueContainer
, BlueRunContainer
, BlueTestResultContainer
, BlueTrendContainer
, BlueUserContainer
, Containers.AbstractContainer
Stapler-bound REST endpoint for a collection of objects.
- Author:
- Kohsuke Kawaguchi
-
Constructor Summary 
Constructors
-
Method Summary 
Gets the individual member by its name
Base implementation of pagination that is dumb.
When GET is requested on '/', serve the collection
Methods inherited from class java.lang.Object 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details 
-
Container 
public Container()
-
Method Details 
-
get 
Gets the individual member by its name
- Parameters:
name
- identifying the member
- Returns:
- individual member
-
getDynamic 
public final T getDynamic(String name)
-
iterator 
public Iterator<T> iterator(int start,
int limit)
Base implementation of pagination that is dumb.
- Specified by:
iterator
in interface Pageable<T>
- Parameters:
start
- starting index requested from collection
limit
- max number of item requested in the page
- Returns:
- filtered collection
-
list 
@WebMethod(name="")
@GET
public Pageable<T> list()
When GET is requested on '/', serve the collection
- Returns:
- collection in this container