public class TakeFirstResolverSelectionStrategy extends java.lang.Object implements ResolverSelectionStrategy
Constructor and Description |
---|
TakeFirstResolverSelectionStrategy() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<ResolverSelectionStrategy> |
getMarkerInterface() |
<R,E extends Expression<R>> |
selectResolver(java.util.List<Resolver<R,E>> resolvers)
Has to select one resolver from the given list.
|
public <R,E extends Expression<R>> Resolver<R,E> selectResolver(java.util.List<Resolver<R,E>> resolvers)
ResolverSelectionStrategy
selectResolver
in interface ResolverSelectionStrategy
resolvers
- the resolvers to choose frompublic java.lang.Class<ResolverSelectionStrategy> getMarkerInterface()
getMarkerInterface
in interface Option<ResolvingOption>