Enum Class LoggingStrategy

java.lang.Object
java.lang.Enum<LoggingStrategy>
it.ozimov.springboot.mail.logging.LoggingStrategy
All Implemented Interfaces:
Serializable, Comparable<LoggingStrategy>, Constable

public enum LoggingStrategy extends Enum<LoggingStrategy>
  • Enum Constant Details

    • PLAIN_TEXT

      public static final LoggingStrategy PLAIN_TEXT
    • HIDDEN

      public static final LoggingStrategy HIDDEN
    • FIRST_DOZEN_THEN_STARS

      public static final LoggingStrategy FIRST_DOZEN_THEN_STARS
    • FULL_TEXT_FROM_COMMERCIAL_AT

      public static final LoggingStrategy FULL_TEXT_FROM_COMMERCIAL_AT
    • FULL_TEXT_UP_TO_COMMERCIAL_AT

      public static final LoggingStrategy FULL_TEXT_UP_TO_COMMERCIAL_AT
    • STANDARD_DATE_FORMAT

      public static final LoggingStrategy STANDARD_DATE_FORMAT
    • STANDARD_DATE_FORMAT_WITH_ZONE_ID

      public static final LoggingStrategy STANDARD_DATE_FORMAT_WITH_ZONE_ID
  • Method Details

    • values

      public static LoggingStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LoggingStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null