public static enum McpSchema.ElicitResult.Action extends Enum<McpSchema.ElicitResult.Action>
| Modifier and Type | Method and Description |
|---|---|
static McpSchema.ElicitResult.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McpSchema.ElicitResult.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final McpSchema.ElicitResult.Action ACCEPT
public static final McpSchema.ElicitResult.Action DECLINE
public static final McpSchema.ElicitResult.Action CANCEL
public static McpSchema.ElicitResult.Action[] values()
for (McpSchema.ElicitResult.Action c : McpSchema.ElicitResult.Action.values()) System.out.println(c);
public static McpSchema.ElicitResult.Action valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025. All rights reserved.