com.atlassian.jira.rest.client
Class ExpandableProperty<T>

java.lang.Object
  extended by com.atlassian.jira.rest.client.ExpandableProperty<T>

public class ExpandableProperty<T>
extends Object

Represents a resource which can be expandable - that is REST API is capable of sending just the number of child resources or when the entity is expanded, also the child resources themselves

Since:
v0.1

Constructor Summary
ExpandableProperty(int size)
           
ExpandableProperty(int size, Collection<T> items)
           
 
Method Summary
 Iterable<T> getItems()
           
 int getSize()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExpandableProperty

public ExpandableProperty(int size)

ExpandableProperty

public ExpandableProperty(int size,
                          @Nullable
                          Collection<T> items)
Method Detail

getSize

public int getSize()

getItems

@Nullable
public Iterable<T> getItems()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.