com.atlassian.crucible.spi.data
Class FisheyeReviewItemData.ReviewItemRevisions

java.lang.Object
  extended by com.atlassian.crucible.spi.data.FisheyeReviewItemData.ReviewItemRevisions
All Implemented Interfaces:
com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ReviewItemRevisionData>
Enclosing class:
FisheyeReviewItemData

public static class FisheyeReviewItemData.ReviewItemRevisions
extends java.lang.Object
implements com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ReviewItemRevisionData>


Constructor Summary
FisheyeReviewItemData.ReviewItemRevisions(int size, com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ReviewItemRevisionData> callback)
           
 
Method Summary
 com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ReviewItemRevisionData> getCallback()
           
 java.util.List<ReviewItemRevisionData> getRevisions()
          This list is dynamically expanded during a REST call.
 int getSize()
           
 void setRevisions(java.util.List<ReviewItemRevisionData> revisions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FisheyeReviewItemData.ReviewItemRevisions

public FisheyeReviewItemData.ReviewItemRevisions(int size,
                                                 com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ReviewItemRevisionData> callback)
Method Detail

getSize

public int getSize()

getRevisions

public java.util.List<ReviewItemRevisionData> getRevisions()
This list is dynamically expanded during a REST call. If this class is used outside the context of a REST call then this will return null. You should call FisheyeReviewItemData.getExpandedRevisions() to get the list of FisheyeReviewItemData if you are not creating this class via REST.

Returns:

setRevisions

public void setRevisions(java.util.List<ReviewItemRevisionData> revisions)

getCallback

public com.atlassian.plugins.rest.common.expand.entity.ListWrapperCallback<ReviewItemRevisionData> getCallback()
Specified by:
getCallback in interface com.atlassian.plugins.rest.common.expand.entity.ListWrapper<ReviewItemRevisionData>