org.autoplot.jythonsupport.Param
Class for representing a Parameter. This has been buried within the JythonUtil
class and will be useful on its own.
Param( )
name
label
deft
value
doc
enums
examples
constraints
constraints for the value, such as:
- 'labels':Arrays.asList(['RBSP-A','RBSP-B']) labels for each enum.
type
The parameter type:
- T (TimeRange),
- A (String, but note a string with the values enumerated either T
or F is treated as a boolean.)
- F (Double or Integer, but note the values [0,1] imply it's a
boolean.),
- D (Datum),
- S (DatumRange),
- U (Dataset URI),
- L (URL), a file location, not a URI with parameters,
- M (local file or directory),
- or R (the resource URI)
CONSTRAINT_LABELS
List<String> of labels.
CONSTRAINT_MIN
Number for the minimum, inclusive
CONSTRAINT_MAX
Number for the maximum, inclusive
CONSTRAINT_EXAMPLES
List<Object> example values, which will be the same as the examples field.
toString
toString( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]