Enum Class ServerSuspendController.Context

java.lang.Object
java.lang.Enum<ServerSuspendController.Context>
org.jboss.as.server.suspend.ServerSuspendController.Context
All Implemented Interfaces:
Serializable, Comparable<ServerSuspendController.Context>, Constable, ServerResumeContext, ServerSuspendContext
Enclosing interface:
ServerSuspendController

public static enum ServerSuspendController.Context extends Enum<ServerSuspendController.Context> implements ServerSuspendContext
  • Enum Constant Details

  • Method Details

    • values

      public static ServerSuspendController.Context[] 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 ServerSuspendController.Context 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
    • isStarting

      public boolean isStarting()
      Description copied from interface: ServerResumeContext
      Indicates whether the server is resuming as part of the startup sequence.
      Specified by:
      isStarting in interface ServerResumeContext
      Returns:
      true, if the server is starting, false otherwise.
    • isStopping

      public boolean isStopping()
      Description copied from interface: ServerSuspendContext
      Indicates whether the server is suspending as part of the shutdown sequence.
      Specified by:
      isStopping in interface ServerSuspendContext
      Returns:
      true, if the server is stopping, false otherwise.