@Retention(value=RUNTIME) @Target(value=FIELD) public @interface Param
OperationParameters
Modifier and Type | Required Element and Description |
---|---|
String |
name
The parameter key in the operation parameters map.
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
alias
Optional alias for the parameter key.
|
String |
description |
int |
order
Optional attribute to set a parameter order, used for ordering them when presenting the UI form to fill.
|
boolean |
required
If the parameter to inject cannot be found in the operation parameters map (or it is set to null) then if
required is true then an error is thrown otherwise the injection will not be done (and any default value set in
the code will be preserved).
|
String[] |
values
Optional attribute - useful to generate operation documentation.
|
String |
widget
Optional attribute - useful to generate operation documentation.
|
public abstract String description
public abstract boolean required
public abstract String widget
public abstract String[] values
public abstract int order
Copyright © 2016 Nuxeo SA. All rights reserved.