Enum Class RunLevel

java.lang.Object
java.lang.Enum<RunLevel>
de.espirit.firstspirit.server.RunLevel
All Implemented Interfaces:
Serializable, Comparable<RunLevel>, Constable

public enum RunLevel extends Enum<RunLevel>
FirstSpirit server run level with increasing level. A higher level means more functionality is available. A higher level includes all available functionality of the lower levels.
Since:
5.2.181205
  • Enum Constant Details

    • SHUTDOWN

      public static final RunLevel SHUTDOWN
      Server is shut down and not running.
      Since:
      5.2.181205
    • IN_PROGRESS

      public static final RunLevel IN_PROGRESS
      Server startup or shutdown is in progress.
      Since:
      5.2.181205
    • CORE_STARTED

      public static final RunLevel CORE_STARTED
      All server managers are started and core server functionality is available. Socket connection mode is available.
      Since:
      5.2.181205
    • ROOT_WEBAPP_STARTED

      public static final RunLevel ROOT_WEBAPP_STARTED
      The FirstSpirit root WebApp is started and HTTP connection mode is available.
      Since:
      5.2.181205
    • CORE_WEBAPPS_STARTED

      public static final RunLevel CORE_WEBAPPS_STARTED
      All core FirstSpirit WebApps are started.
      Since:
      5.2.181205
    • STARTED

      public static final RunLevel STARTED
      Server is started, all downstream tasks are done and all global and project WebApps are started.
      Since:
      5.2.181205
  • Method Details

    • values

      public static RunLevel[] 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 RunLevel 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
    • level

      public int level()
      Get the integer level value of the current RunLevel.
      Since:
      5.2.181205
    • toString

      public String toString()
      Returns a three digit string representation of the integer level.
      Overrides:
      toString in class Enum<RunLevel>