Enum MCPServerFeaturesFilter.MCPFeature
- java.lang.Object
-
- java.lang.Enum<MCPServerFeaturesFilter.MCPFeature>
-
- org.openidentityplatform.openig.ai.filter.MCPServerFeaturesFilter.MCPFeature
-
- All Implemented Interfaces:
Serializable,Comparable<MCPServerFeaturesFilter.MCPFeature>
- Enclosing class:
- MCPServerFeaturesFilter
public static enum MCPServerFeaturesFilter.MCPFeature extends Enum<MCPServerFeaturesFilter.MCPFeature>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROMPTSRESOURCESRESOURCES_TEMPLATESTOOLS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MCPServerFeaturesFilter.MCPFeaturevalueOf(String name)Returns the enum constant of this type with the specified name.static MCPServerFeaturesFilter.MCPFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOOLS
public static final MCPServerFeaturesFilter.MCPFeature TOOLS
-
PROMPTS
public static final MCPServerFeaturesFilter.MCPFeature PROMPTS
-
RESOURCES
public static final MCPServerFeaturesFilter.MCPFeature RESOURCES
-
RESOURCES_TEMPLATES
public static final MCPServerFeaturesFilter.MCPFeature RESOURCES_TEMPLATES
-
-
Method Detail
-
values
public static MCPServerFeaturesFilter.MCPFeature[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MCPServerFeaturesFilter.MCPFeature c : MCPServerFeaturesFilter.MCPFeature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MCPServerFeaturesFilter.MCPFeature 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 nameNullPointerException- if the argument is null
-
-