com.atlassian.plugins.rest.common.expand.parameter
Class DefaultExpandParameter

java.lang.Object
  extended by com.atlassian.plugins.rest.common.expand.parameter.DefaultExpandParameter
All Implemented Interfaces:
ExpandParameter

public final class DefaultExpandParameter
extends java.lang.Object
implements ExpandParameter

Parses and allow easy retrieval of information of expansion parameter.


Constructor Summary
DefaultExpandParameter(java.util.Collection<java.lang.String> expands)
           
 
Method Summary
 ExpandParameter getExpandParameter(Expandable expandable)
           
 Indexes getIndexes(Expandable expandable)
           
 boolean isEmpty()
           
 boolean shouldExpand(Expandable expandable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultExpandParameter

public DefaultExpandParameter(java.util.Collection<java.lang.String> expands)
Method Detail

shouldExpand

public boolean shouldExpand(Expandable expandable)
Specified by:
shouldExpand in interface ExpandParameter

getIndexes

public Indexes getIndexes(Expandable expandable)
Specified by:
getIndexes in interface ExpandParameter

getExpandParameter

public ExpandParameter getExpandParameter(Expandable expandable)
Specified by:
getExpandParameter in interface ExpandParameter

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface ExpandParameter


Copyright © 2014 Atlassian. All Rights Reserved.