public class BigDecProp extends PropertyBase<BigDecimal>
BigDecimal configuration Property
Parsing values from strings is done by the BigDecType, which parses values using the
BigDecimal.BigDecimal(String). The constructor accepts many different forms -
refer there for valid String formats.
Before parsing String values, the TrimToNullTrimmer is applied by default.
| Modifier and Type | Class and Description |
|---|---|
static class |
BigDecProp.BigDecBuilder
Build a BigDecProp
|
| Constructor and Description |
|---|
BigDecProp(BigDecimal defaultValue,
boolean required,
String shortDesc,
List<Validator<BigDecimal>> validators,
List<Name> aliases,
PropertyType paramType,
ValueType<BigDecimal> valueType,
Trimmer trimmer,
String helpText)
Construct an instance of BigDecProp
|
| Modifier and Type | Method and Description |
|---|---|
static BigDecProp.BigDecBuilder |
builder()
A chainable builder for this property that should terminate with
build() |
getDefaultValue, getDescription, getExplicitValue, getHelpText, getPropertyType, getRequestedAliases, getTrimmer, getValidators, getValue, getValueType, isNonNullRequiredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCanonicalName, getInAliases, getOutAliases, getValueAsString, isExplicitlySetpublic BigDecProp(BigDecimal defaultValue, boolean required, String shortDesc, List<Validator<BigDecimal>> validators, List<Name> aliases, PropertyType paramType, ValueType<BigDecimal> valueType, Trimmer trimmer, String helpText)
defaultValue - default valuerequired - make the property required or notshortDesc - short description of the propertyvalidators - list of validators for the propertyaliases - aliases of the propertyparamType - property typevalueType - property value typetrimmer - trimmer associated with the propertyhelpText - help text of the propertypublic static BigDecProp.BigDecBuilder builder()
build()
Use as BigDecProp.builder()...series of builder methods...build();
Copyright © 2022. All rights reserved.