Record Class SubOption
java.lang.Object
java.lang.Record
ecmwf.common.ectrans.SubOption
- Record Components:
name- the key as expected inside the options string (e.g. "pattern", "standby")clazz- the expected type of the value (Boolean, Integer, Long, String, Duration, etc.)choices- the list of accepted values if the value is restricted to a fixed set (empty if free-form)
Describes one of the
key=value entries that can appear inside the string returned by
Options when parsing the value of an ECtransOptions constant whose type is a nested
options string (e.g. scheduler.force="pattern=.*;standby=yes").
This is purely descriptive metadata used for documentation and validation purposes (e.g. by the Properties editor in
the web UI, or by future documentation generators). It has no effect on the actual runtime parsing, which is entirely
handled by Options.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchoices()Returns the value of thechoicesrecord component.Class<?> clazz()Returns the value of theclazzrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SubOption
-
SubOption
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
name
-
clazz
-
choices
-