Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public enum BackendTest.Feature
- Object
- Enum<BackendTest.Feature>
- BackendTest.Feature
ImplementsComparable<BackendTest.Feature>
A production feature
features can add to the test’s application.Enum constants
MANAGEMENT | The management endpoints, at cn1.management.path and with cn1.management.token, as a test’s settings give them. |
TELEMETRY | The OpenTelemetry exporters, for traces and metrics, sending where the test’s cn1.otel.* settings point – an OtlpTestCollector, say. |
MCP | The MCP endpoint, with the application’s @McpTool methods. |
AS_PACKAGED | Each of the above the module’s build links into the packaged server: what cn1.management.enabled, cn1.otel.enabled or @OpenTelemetry, and cn1.mcp.enabled or an @McpTool turn on. |
Methods
public static BackendTest.Feature[] values() | |
public static BackendTest.Feature valueOf(String name) |
Inherited methods
Enum constant details
MANAGEMENT
MANAGEMENTThe management endpoints, at
cn1.management.path and with
cn1.management.token, as a test’s settings give them. Turning them
on also has the server record its own metrics.TELEMETRY
TELEMETRYThe OpenTelemetry exporters, for traces and metrics, sending where
the test’s
cn1.otel.* settings point – an OtlpTestCollector, say.MCP
MCPThe MCP endpoint, with the application’s
@McpTool methods.AS_PACKAGED
AS_PACKAGEDEach of the above the module’s build links into the packaged server:
what
cn1.management.enabled, cn1.otel.enabled or
@OpenTelemetry, and cn1.mcp.enabled or an @McpTool turn on.Method details
values
public static BackendTest.Feature[] values()valueOf
public static BackendTest.Feature valueOf(String name)