Exposes a single method on a JSON RPC interface.
This tag should appear within a <interface>, or set the interface
attribute to reference an interface.
<rpc:method name="time"><rpc:parameter name="format" type="string" default="medium" required="yes">Time format to return</rpc:parameter><return-str>${.now::format}</return-str></rpc:method>
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
call |
Macro to call for functionality | element reference | No | ||
description |
Brief description of method | text | No | "" |
|
group |
Method group | text | No | ||
interface |
Interface | element reference | No | ||
name |
Name of exposed method | text | Yes |
name | purpose | type | required? | default | choices |
---|---|---|---|---|---|
if |
Conditional expression | expression | No | yes |