com.atlassian.plugins.rest.common.expand
Interface ExpandContext<T>

Type Parameters:
T - The type of the entity being expanded.
All Known Implementing Classes:
DefaultExpandContext

public interface ExpandContext<T>

The context for expansions.


Method Summary
 T getEntity()
           
 ExpandParameter getEntityExpandParameter()
           
 Expandable getExpandable()
           
 

Method Detail

getExpandable

Expandable getExpandable()
Returns:
the expandable annotation on the field that is the entity being expanded.

getEntity

T getEntity()
Returns:
the entity being expanded

getEntityExpandParameter

ExpandParameter getEntityExpandParameter()
Returns:
the expand parameter used to match the entity being expanded.


Copyright © 2014 Atlassian. All Rights Reserved.