@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 | |
|---|---|
java.lang.String |
value
Name of the field that will appear in dialog |
| Optional Element Summary | |
|---|---|
boolean |
datetimeAsLong
Setting if |
java.lang.String |
description
A short description of annotated field |
java.lang.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 |
boolean |
readOnly
Setting this to true means field is read only and cannot be modified |
double |
stepSize
This field is suitable for parameter's types as : int, long or double. |
| Element Detail |
|---|
public abstract java.lang.String value
public abstract java.lang.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 readOnly
public abstract java.lang.String description
public abstract boolean datetimeAsLong