ProductType
- the type of objects produced by this resolverCriteriaType
- the type of criteria to process during resolutionpublic interface Resolver<ProductType,CriteriaType>
Modifier and Type | Method and Description |
---|---|
Iterable<ProductType> |
resolve(CriteriaType criteria)
Process the specified criteria and return the resulting instances of the product type
which satisfy the criteria.
|
ProductType |
resolveSingle(CriteriaType criteria)
Process the specified criteria and return a single instance of the product type
which satisfies the criteria.
|
@Nonnull @NonnullElements Iterable<ProductType> resolve(@Nullable CriteriaType criteria) throws ResolverException
criteria
- the criteria to evaluate or processResolverException
- thrown if there is an error processing the specified criteria@Nullable ProductType resolveSingle(@Nullable CriteriaType criteria) throws ResolverException
criteria
- the criteria to evaluate or processResolverException
- thrown if there is an error processing the specified criteriaCopyright © 1999–2019. All rights reserved.