remote

fun remote(name: String, label: String = "", description: String = "", display: ParameterDisplay = ParameterDisplay.NORMAL, readOnly: Boolean = false, remoteType: String, vararg params: Pair<String, String>)

Adds a remote parameter from a specific remote type

Parameters

name

parameter name

label

label to use for the parameter in UI

description

parameter description

display

parameter display mode

readOnly

whether the parameter is read-only, by default false

remoteType

the type of remote parameter being defined

params

the parameters required by the remote parameter type in order to obtain the value


fun remote(remoteParameter: RemoteParameter)

Adds a remote parameter from a specific remote type

Parameters

remoteParameter

a parametrized remote parameter definition