Enum BackendTest.Feature
- All Implemented Interfaces:
Comparable<BackendTest.Feature>
- Enclosing class:
BackendTest
A production feature
BackendTest.features() can add to the test's application.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEach of the above the module's build links into the packaged server: whatcn1.management.enabled,cn1.otel.enabledor@OpenTelemetry, andcn1.mcp.enabledor an@McpToolturn on.The management endpoints, atcn1.management.pathand withcn1.management.token, as a test's settings give them.The MCP endpoint, with the application's@McpToolmethods.The OpenTelemetry exporters, for traces and metrics, sending where the test'scn1.otel.*settings point -- anOtlpTestCollector, say. -
Method Summary
Modifier and TypeMethodDescriptionstatic BackendTest.FeatureReturns the enum constant of this type with the specified name.static BackendTest.Feature[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
MANAGEMENT
The management endpoints, atcn1.management.pathand withcn1.management.token, as a test's settings give them. Turning them on also has the server record its own metrics. -
TELEMETRY
The OpenTelemetry exporters, for traces and metrics, sending where the test'scn1.otel.*settings point -- anOtlpTestCollector, say. -
MCP
The MCP endpoint, with the application's@McpToolmethods. -
AS_PACKAGED
Each of the above the module's build links into the packaged server: whatcn1.management.enabled,cn1.otel.enabledor@OpenTelemetry, andcn1.mcp.enabledor an@McpToolturn on.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-