Enum Class McpServerStatus

java.lang.Object
java.lang.Enum<McpServerStatus>
com.soklet.McpServerStatus
All Implemented Interfaces:
Serializable, Comparable<McpServerStatus>, Constable

public enum McpServerStatus extends Enum<McpServerStatus>
Lifecycle status reported by an immutable MCP server diagnostics snapshot.

This type may gain reviewed constants in Soklet 4.x; use a forward-compatible default when switching over its values.

Author:
Mark Allen
  • Enum Constant Details

    • NOT_STARTED

      public static final McpServerStatus NOT_STARTED
      MCP attachment has not begun, or startup failed before attachment was committed.
    • STARTING

      public static final McpServerStatus STARTING
      Attachment or transport startup is in progress before readiness.
    • RUNNING

      public static final McpServerStatus RUNNING
      The MCP transport generation is ready and admission is open. An off-network simulator generation can be running without a bound address.
    • SHUTTING_DOWN

      public static final McpServerStatus SHUTTING_DOWN
      Shutdown or rollback is in progress and final proof is pending.
    • TERMINATED

      public static final McpServerStatus TERMINATED
      Final normal, forced, or unexpected termination is proven.
    • RESIDUAL_ACTIVITY

      public static final McpServerStatus RESIDUAL_ACTIVITY
      Positive MCP activity remained at the final shutdown boundary.
    • TERMINATION_UNKNOWN

      public static final McpServerStatus TERMINATION_UNKNOWN
      Final MCP termination proof could not be established.
  • Method Details

    • values

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