Package nxt.env

Enum Class ServerStatus

All Implemented Interfaces:
Serializable, Comparable<ServerStatus>, Constable

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

    • NOT_INITIALIZED

      public static final ServerStatus NOT_INITIALIZED
    • BEFORE_DATABASE

      public static final ServerStatus BEFORE_DATABASE
    • AFTER_DATABASE

      public static final ServerStatus AFTER_DATABASE
    • STARTED

      public static final ServerStatus STARTED
  • Method Details

    • values

      public static ServerStatus[] 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 ServerStatus 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
    • isDatabaseReady

      public boolean isDatabaseReady()
    • isApiPortReady

      public boolean isApiPortReady()
    • getMessage

      public String getMessage()