|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Configurable
Fields marked with this annotation will be shown in dialog before strategy start. Values from that dialog will be set to fields before calling onStart method
| Required Element Summary | |
|---|---|
String |
value
Name of the field that will appear in dialog |
| Optional Element Summary | |
|---|---|
boolean |
datetimeAsLong
Setting if |
String |
fileType
This field is exclusively for File parameters, for other types of parameters fileType value will be ignored. |
boolean |
obligatory
Setting this to true means field is obligatory |
double |
stepSize
This field is suitable for parameter's types as : int, long or double. |
| Element Detail |
|---|
public abstract String value
public abstract String fileType
File parameters can be visualized in 2 ways:
1. textField and button("..."), which allow you to specify file from your file system. Do not use fileType or define it ="" to use this visualization
2. combobox with predefined list of file(s) from strategy directory.
fileType should not be empty to use this visualization.
In this case fileType is filter, which specifies what files to show in combo.
e.g. fieldType="*" -> return all your files from Strategy directory,
fieldType="*.xml" -> return only files with XML extension from Strategy directory
public abstract double stepSize
public abstract boolean obligatory
public abstract boolean datetimeAsLong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||