Annotation Type FeatureIDEVariant
-
@Target(TYPE) public @interface FeatureIDEVariant
This annotation can be used to generate atapir
variant from a variant configuration file created with theFeatureIDE
.- Since:
- 1.1.0
- Author:
- Nils Christian Ehmke
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
featuresPackage
The package in which the features are contained.java.lang.String
name
The name of the variant.java.lang.String
prefix
The prefix prepended to each generated feature.java.lang.String
propertyName
The name of the property which determines the active variant.java.lang.String
suffix
The suffix appended to each generated feature.java.lang.String
value
The path to a variant configuration file from theFeatureIDE
containing a set of features.
-
-
-
Element Detail
-
value
java.lang.String value
The path to a variant configuration file from theFeatureIDE
containing a set of features. The file path is relative to the annotated class. If the file path starts with a slash (/
), the file path is absolute. If this value is not given, it is assumed that the configuration model is contained in an xml file next to the annotated class with the same name as the annotated class.- Since:
- 1.1.0
- Default:
- ""
-
-