|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugins.rest.common.expand.resolver.AbstractAnnotationEntityExpanderResolver
public abstract class AbstractAnnotationEntityExpanderResolver
An EntityExpander resolver that uses the Expander annotation for resolution.
Implementation must implement getEntityExpander(Expander)
| Constructor Summary | |
|---|---|
AbstractAnnotationEntityExpanderResolver()
|
|
| Method Summary | ||
|---|---|---|
protected abstract EntityExpander<?> |
getEntityExpander(Expander expander)
Retrieves the EntityExpander associated to the Expander annotation. |
|
|
getExpander(java.lang.Class<? extends T> type)
Gets an EntityExpander for the given type. |
|
|
getExpander(T instance)
Gets an EntityExpander for the given instance. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAnnotationEntityExpanderResolver()
| Method Detail |
|---|
public final <T> EntityExpander<T> getExpander(T instance)
EntityExpander for the given instance.
getExpander in interface EntityExpanderResolverT - the type of object to retrieve the expander for.instance - the object to look up the expander for.
public final <T> EntityExpander<T> getExpander(java.lang.Class<? extends T> type)
EntityExpander for the given type.
getExpander in interface EntityExpanderResolverT - the type of object to retrieve the expander for.type - the type of object to look up the expander for.
protected abstract EntityExpander<?> getEntityExpander(Expander expander)
EntityExpander associated to the Expander annotation. The entity expander is created if necessary.
expander - the annotation
EntityExpander
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||