public class StrProp extends PropertyBase<String>
String configuration Property
By default, StrProp uses the QuotedSpacePreservingTrimmer, which will keep
whitespace inside double quotes for loaders that are coming from text based sources, such
as properties files.
| Modifier and Type | Class and Description |
|---|---|
static class |
StrProp.StrBuilder |
| Constructor and Description |
|---|
StrProp(String defaultValue,
boolean nonNull,
String shortDesc,
List<Validator<String>> validators,
List<Name> aliases,
PropertyType paramType,
ValueType<String> valueType,
Trimmer trimmer,
String helpText) |
| Modifier and Type | Method and Description |
|---|---|
static StrProp.StrBuilder |
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 static StrProp.StrBuilder builder()
build()
Use as StrProp.builder()...series of builder methods...build();
Copyright © 2022. All rights reserved.