Annotation Type FeatureIDEVariant


  • @Target(TYPE)
    public @interface FeatureIDEVariant
    This annotation can be used to generate a tapir variant from a variant configuration file created with the FeatureIDE.
    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 the FeatureIDE containing a set of features.
    • Element Detail

      • value

        java.lang.String value
        The path to a variant configuration file from the FeatureIDE 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:
        ""
      • name

        java.lang.String name
        The name of the variant. If this is not specified, the class name will be used instead.
        Since:
        1.1.0
        Default:
        ""
      • prefix

        java.lang.String prefix
        The prefix prepended to each generated feature.
        Since:
        1.1.0
        Default:
        ""
      • suffix

        java.lang.String suffix
        The suffix appended to each generated feature.
        Since:
        1.1.0
        Default:
        "Feature"
      • featuresPackage

        java.lang.String featuresPackage
        The package in which the features are contained. If this is empty, the package of the annotated class is used instead.
        Since:
        1.1.0
        Default:
        ""
      • propertyName

        java.lang.String propertyName
        The name of the property which determines the active variant. If not specified explicitly 'variant' is used
        Since:
        1.2.0
        Default:
        "variant"