public interface VariantSource
This may get variants from an XML configuration file, a database or any other source of information. This is intended to be more flexible than the deprecated NegotiationXMLParser. It reuses the the data structures returned by the NegotiationXMLParser.
Modifier and Type | Method and Description |
---|---|
List<Variant> |
getVariants()
Get the variants from the variant source.
|
List<Variant> getVariants() throws VariantSourceException
VariantSourceException
- Thrown when unable to return the variantsVariantSourceConfigurationException
- Thrown when the variant source is not configuredCopyright © 2016. All Rights Reserved.