com.atlassian.bamboo.plugins.rest.model
Class AbstractRestList<T>
java.lang.Object
com.atlassian.bamboo.plugins.rest.model.AbstractRestList<T>
- All Implemented Interfaces:
- com.atlassian.plugins.rest.common.expand.entity.ListWrapper<T>
- Direct Known Subclasses:
- RestBuildArtifactList, RestBuildLabelList, RestBuildLogEntryList, RestBuildMetadataList, RestChangeFileList, RestChangeList, RestCommentList, RestJiraIssueList, RestJobResultStatusList, RestPlanActionList, RestPlanBranchList, RestPlanLabelList, RestPlanList, RestPreferenceList, RestProjectList, RestQueuedBuildList, RestReportList, RestResourceList, RestResultList, RestStageList, RestStageResultList, RestStageResultStatusList, RestTestErrorList, RestTestResultList, RestVcsBranchList, VcsRevisionList
public abstract class AbstractRestList<T>
- extends java.lang.Object
- implements com.atlassian.plugins.rest.common.expand.entity.ListWrapper<T>
User: mwent Date: May 22, 2009 Time: 11:45:08 AM
Field Summary |
protected com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> |
callback
|
protected int |
maxResult
|
protected int |
size
|
protected int |
startIndex
|
Constructor Summary |
AbstractRestList()
|
AbstractRestList(int size,
org.apache.commons.lang.math.IntRange range,
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> callback)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startIndex
protected int startIndex
maxResult
protected int maxResult
size
protected int size
callback
protected com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> callback
AbstractRestList
public AbstractRestList()
AbstractRestList
public AbstractRestList(int size,
org.apache.commons.lang.math.IntRange range,
com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> callback)
getSize
public int getSize()
getCallback
public com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> getCallback()
- Specified by:
getCallback
in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapper<T>
setStartIndex
public void setStartIndex(int startIndex)
setMaxResult
public void setMaxResult(int maxResult)
Copyright © 2012 Atlassian. All Rights Reserved.