Enum Class LogMode

java.lang.Object
java.lang.Enum<LogMode>
org.junit.contrib.java.lang.system.LogMode
All Implemented Interfaces:
Serializable, Comparable<LogMode>, Constable

@Deprecated public enum LogMode extends Enum<LogMode>
Deprecated.
This enum is no longer needed, because all rules that are using it have been replaced with rules that don't need the enum.

Mode of the StandardErrorStreamLog and the StandardOutputStreamLog.

  • Enum Constant Details

  • Constructor Details

    • LogMode

      private LogMode()
      Deprecated.
  • Method Details

    • values

      public static LogMode[] values()
      Deprecated.
      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 LogMode valueOf(String name)
      Deprecated.
      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