|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Target(value=FIELD) @Retention(value=RUNTIME) public @interface DefineParameter
Annotation allowing to define parameters in algorithm.
Required Element Summary | |
---|---|
String |
name
Name of the parameter. |
Optional Element Summary | |
---|---|
String |
afterSet
Defines name of a function to call after setting the value of the parameter. |
String |
beforeSet
Defines name of a function to call before setting the value of the parameter. |
String |
description
Description of the parameter. |
double |
max
Maximum value used for number parameter. |
double |
min
Minimum value used for number parameter. |
boolean |
optional
Defines if the parameter is optional. |
int |
priority
Defines the priority of the parameter. |
String |
setter
Defines name of a function to call to set the value of the parameter. |
String[] |
strings
For String parameters, this allows to define a restricted set of values for the parameter. |
Class<?> |
type
Class of the parameter. |
Element Detail |
---|
public abstract String name
public abstract String description
public abstract double min
public abstract double max
public abstract Class<?> type
public abstract String[] strings
public abstract String beforeSet
public abstract String afterSet
public abstract String setter
public abstract int priority
public abstract boolean optional
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |