com.atlassian.bamboo.plugins.rest.model
Class AbstractRestList<T>

java.lang.Object
  extended by 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, RestPlanList, RestProjectList, RestQueuedBuildList, RestReportList, RestResourceList, RestResultList, RestStageList, RestStageResultList, RestStageResultStatusList, RestTestErrorList, RestTestResultList

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)
           
 
Method Summary
 com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> getCallback()
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startIndex

protected int startIndex

maxResult

protected int maxResult

size

protected int size

callback

protected com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<T> callback
Constructor Detail

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)
Method Detail

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>


Copyright © 2011 Atlassian. All Rights Reserved.