Interface ValidValueProvider.ValidValue

  • Enclosing class:
    ValidValueProvider

    public static interface ValidValueProvider.ValidValue
    Defines a value that is valid for a certain property. In addition to the profile value a translated display value can be obtained from this interface.
    Since:
    5.0
    • Method Detail

      • getProfileValue

        java.lang.String getProfileValue()
        Returns the String that is to be used in the profile property to activate this option
        Returns:
        the string to be used in the profile
        Since:
        5.0
      • getDisplayString

        java.lang.String getDisplayString()
        Returns a translated label for this option. The translation will use the locale of the current thread.
        Returns:
        the translated label for this option
        Since:
        5.0