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 Summary

    Modifier and Type
    Method
    Description
    Returns a translated label for this option.
    Returns the String that is to be used in the profile property to activate this option
  • Method Details

    • getProfileValue

      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

      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