Enum Class GlassFishLoggingStatus

java.lang.Object
java.lang.Enum<GlassFishLoggingStatus>
org.glassfish.main.jul.GlassFishLoggingStatus
All Implemented Interfaces:
Serializable, Comparable<GlassFishLoggingStatus>, Constable

public enum GlassFishLoggingStatus extends Enum<GlassFishLoggingStatus>
This enum represents states of the GlassFish Logging lifecycle.
Author:
David Matejcek
  • Enum Constant Details

    • UNINITIALIZED

      public static final GlassFishLoggingStatus UNINITIALIZED
      The logging is not available, requires initialization first. The initialization usually starts by the first usage of any Logger instance or by the first LogManager.getManager call.
    • UNCONFIGURED

      public static final GlassFishLoggingStatus UNCONFIGURED
      The initialization is done - the global LogManager instance is set and cannot be changed any more, but it's configuration is not completed.
    • CONFIGURING

      public static final GlassFishLoggingStatus CONFIGURING
      GlassFish Logging reconfiguration is executed.

      This part is extremely fragile - if your logging configuration is incorrect, it is not guaranteed that the logging will work.

    • FLUSHING_BUFFERS

      public static final GlassFishLoggingStatus FLUSHING_BUFFERS
      The reconfiguration is finished.

      Now it is time to flush all buffers in logging.

    • FULL_SERVICE

      public static final GlassFishLoggingStatus FULL_SERVICE
      Logging is configured and provides full service.
  • Method Details

    • values

      public static GlassFishLoggingStatus[] 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 GlassFishLoggingStatus 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