public interface EntityExpanderResolver
A resolver to find the expander for object or types.
| Modifier and Type | Method and Description |
|---|---|
<T> EntityExpander<T> |
getExpander(Class<? extends T> type)
Gets an
EntityExpander for the given type. |
boolean |
hasExpander(Class<?> type)
Tells whether this resolver can get an expander for the given instance.
|
boolean hasExpander(Class<?> type)
type - the type to resolve the expander for.true if an expander can be found for this object instance, false otherwise.<T> EntityExpander<T> getExpander(Class<? extends T> type)
EntityExpander for the given type.T - the type of object to retrieve the expander for.type - the type of object to look up the expander for.null if none could be found. This method will never return null if
hasExpander(Class) returns true for the same instance.Copyright © 2016 Atlassian. All rights reserved.