Annotation Type EnumKeyConfiguration


  • @Target(FIELD)
    @Retention(RUNTIME)
    @Inherited
    @Documented
    public @interface EnumKeyConfiguration
    Defines the enumeration as a simple configuration as a set.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String description
      Defines the description of the enumeration configuration.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean isConfidential
      Determines whether the configuration value is confidential.
      java.lang.String validFrom
      Defines the valid from date of the enumeration configuration.
      java.lang.String validTill
      Defines the valid till date of the enumeration configuration.
    • Element Detail

      • description

        java.lang.String description
        Defines the description of the enumeration configuration.
        Returns:
        The description of the enumeration configuration.
      • isConfidential

        boolean isConfidential
        Determines whether the configuration value is confidential. In case of persistence it has to be secured.
        Returns:
        Define if the value is confidential.
        Default:
        false
      • validFrom

        java.lang.String validFrom
        Defines the valid from date of the enumeration configuration. By default it's empty which means the current timestamp: DateTimeFormatter.ISO_INSTANT.format(Instant.now().truncatedTo(ChronoUnit.MILLIS)).
        Returns:
        The valid from information
        Default:
        ""
      • validTill

        java.lang.String validTill
        Defines the valid till date of the enumeration configuration. By default it's the "max" timestamp.
        Returns:
        The valid till information
        Default:
        "9999-12-31T12:00:00.000Z"