Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public enum BackendTest.Feature

  1. Object
  2. Enum<BackendTest.Feature>
  3. BackendTest.Feature

ImplementsComparable<BackendTest.Feature>

A production feature features can add to the test’s application.

Enum constants

MANAGEMENTThe management endpoints, at cn1.management.path and with cn1.management.token, as a test’s settings give them.
TELEMETRYThe OpenTelemetry exporters, for traces and metrics, sending where the test’s cn1.otel.* settings point – an OtlpTestCollector, say.
MCPThe MCP endpoint, with the application’s @McpTool methods.
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.

Methods

public static BackendTest.Feature[] values()
public static BackendTest.Feature valueOf(String name)

Inherited methods

Enum constant details

MANAGEMENT

MANAGEMENT
The 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

TELEMETRY
The OpenTelemetry exporters, for traces and metrics, sending where the test’s cn1.otel.* settings point – an OtlpTestCollector, say.

MCP

MCP
The MCP endpoint, with the application’s @McpTool methods.

AS_PACKAGED

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.

Method details

values

public static BackendTest.Feature[] values()

valueOf

public static BackendTest.Feature valueOf(String name)