@Retention(value=RUNTIME) @Target(value=METHOD) public @interface CallableMethod
com.groiss.wf.SystemAction.setFieldToValue_The key above will be used in the following examples for better visualization. Now there are a few things which can be added to the key:
desc
to the key mentioned above and use it as translation key in the resources.
The description will then be fetched according to the currently used locale.
params()
,
to the above key like this:
com.groiss.wf.SystemAction.setFieldToValue_valueParameters may have a customized description (add
_desc
) as well as a customized label (add _label
).
The translation keys for each of them look like this:
com.groiss.wf.SystemAction.setFieldToValue_value_desc
com.groiss.wf.SystemAction.setFieldToValue_value_labelThe description is shown as hint right beside the parameters input. Addition of
_label
changes the parameters label in the wizard.public abstract String description
public abstract String group
public abstract String[] params
id, type, label, description
.
The properties id
and type
are mandatory and cannot be translated. Both label
and description
may be resource keys with "@" or described in the resources and therefore
be omitted in the annotation. For example:
{id: 'message', type:'text', description: 'The message to send', label: '@@@message@@'}
{id: 'formfield', type:'formfield}Following types are allowed: "text" (default), "number", "boolean", "form" and "formfield". If no type is declared, the default will be taken.
If no ID is set, the ID will be taken from the method parameters. CAUTION: This ID could be arg0, arg1, arg2, etc. Also bear in mind, that the ID is also needed for the resource keys (see here
).
If no label is set or found in the resources, the given ID will be used as label (see here
).
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.