@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface API
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
help
A short help description to appear alongside the field in a UI.
|
Modifier and Type | Optional Element and Description |
---|---|
API.Direction |
direction
Is this field an input, output or inout?
|
boolean |
gridable
Identify grid-able parameter.
|
java.lang.String[] |
is_member_of_frames
For Vec-type fields this is the set of Frame-type fields which must contain the named column.
|
java.lang.String[] |
is_mutually_exclusive_with
For Vec-type fields this is the set of other Vec-type fields which must contain
mutually exclusive values.
|
boolean |
json
Should this field be rendered in the JSON representation?
|
java.lang.String |
label
The label that should be displayed for the field if the name is insufficient.
|
API.Level |
level
How important is this field? The web UI uses the level to do a slow reveal of the parameters.
|
boolean |
required
Is this field required, or is the default value generally sufficient?
|
java.lang.String[] |
values
For enum-type fields the allowed values are specified using the values annotation.
|
java.lang.Class<? extends ValuesProvider> |
valuesProvider
Proovide values for enum-like types if it cannot be provided as a constant in annotation.
|
public abstract java.lang.String help
public abstract java.lang.String label
public abstract boolean required
public abstract API.Level level
public abstract API.Direction direction
public abstract java.lang.String[] values
public abstract java.lang.Class<? extends ValuesProvider> valuesProvider
public abstract boolean json
public abstract java.lang.String[] is_member_of_frames
public abstract java.lang.String[] is_mutually_exclusive_with