Enum Class McpServerStatus
- All Implemented Interfaces:
Serializable, Comparable<McpServerStatus>, Constable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMCP attachment has not begun, or startup failed before attachment was committed.Positive MCP activity remained at the final shutdown boundary.The MCP transport generation is ready and admission is open.Shutdown or rollback is in progress and final proof is pending.Attachment or transport startup is in progress before readiness.Final normal, forced, or unexpected termination is proven.Final MCP termination proof could not be established. -
Method Summary
Modifier and TypeMethodDescriptionstatic McpServerStatusReturns the enum constant of this class with the specified name.static McpServerStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NOT_STARTED
MCP attachment has not begun, or startup failed before attachment was committed. -
STARTING
Attachment or transport startup is in progress before readiness. -
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
Shutdown or rollback is in progress and final proof is pending. -
TERMINATED
Final normal, forced, or unexpected termination is proven. -
RESIDUAL_ACTIVITY
Positive MCP activity remained at the final shutdown boundary. -
TERMINATION_UNKNOWN
Final MCP termination proof could not be established.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-