Enum AppStatus

java.lang.Object
java.lang.Enum<AppStatus>
net.thevpc.nuts.toolbox.ntomcat.util.AppStatus
All Implemented Interfaces:
Serializable, Comparable<AppStatus>, java.lang.constant.Constable

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

    • RUNNING

      public static final AppStatus RUNNING
    • STOPPED

      public static final AppStatus STOPPED
    • OUT_OF_MEMORY

      public static final AppStatus OUT_OF_MEMORY
  • Method Details

    • values

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

      public static AppStatus valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null