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

@Retention(CLASS) @Target({METHOD})

public @interface ManagedOperation

A method of a ManagedResource bean that the management endpoint and the development MCP server can invoke.

Its parameters may be strings, numbers or booleans, and its result anything Json can write.

Methods

public abstract String description() default ""What the operation does, for the listing.

Method details

description

public abstract String description() default ""
What the operation does, for the listing.