@Documented @Target(value=FIELD) @Retention(value=RUNTIME) public @interface DefineParameter
Modifier and Type | Required Element and Description |
---|---|
String |
name
Name of the parameter.
|
Modifier and Type | Optional Element and Description |
---|---|
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.
|
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
Copyright © 2015. All rights reserved.