T - the type of scalar valuepublic static class ConfigValueBuilder.Scalar<T> extends ConfigValueBuilder<T,ConfigValueBuilder.Scalar<T>>
ConfigValueBuilder that produces scalar ConfigValues.
Scalar types are those with only one value, such as Integer or String.
Settings with aggregate types, such as Lists or arrays, are created using ConfigValueBuilder.Aggregate
ConfigValueBuilder.Aggregate<A,E>, ConfigValueBuilder.Scalar<T>constraintList, type| Modifier and Type | Method and Description |
|---|---|
ConstraintsBuilder.Scalar<ConfigValueBuilder.Scalar<T>,T> |
constraints()
Creates a constraint builder for this
ConfigValueBuilder. |
aggregate, aggregate, build, isAggregate, scalar, self, setFinal, setFinal, withComment, withDefaultValue, withListener, withName, withParentpublic ConstraintsBuilder.Scalar<ConfigValueBuilder.Scalar<T>,T> constraints()
ConfigValueBuilderConfigValueBuilder.constraints in class ConfigValueBuilder<T,ConfigValueBuilder.Scalar<T>>ConstraintsBuilder