| Package | Description |
|---|---|
| org.yarnandtail.andhow.api | |
| org.yarnandtail.andhow.internal | |
| org.yarnandtail.andhow.property | |
| org.yarnandtail.andhow.valid |
| Modifier and Type | Method and Description |
|---|---|
List<Validator<T>> |
Property.getValidators()
List of validators to validate the converted value.
|
| Modifier and Type | Method and Description |
|---|---|
Validator<?> |
ConstructionProblem.InvalidValidationConfiguration.getValidator() |
| Constructor and Description |
|---|
InvalidValidationConfiguration(Class<? extends BasePropertyGroup> group,
Property<?> property,
Validator<?> valid) |
InvalidValueProblem(Loader loader,
Class<? extends BasePropertyGroup> group,
Property<T> prop,
T value,
Validator<T> validator) |
| Modifier and Type | Field and Description |
|---|---|
protected List<Validator<T>> |
PropertyBuilderBase._validators |
| Modifier and Type | Method and Description |
|---|---|
List<Validator<T>> |
PropertyBase.getValidators() |
| Modifier and Type | Method and Description |
|---|---|
B |
PropertyBuilderBase.validation(Validator<T> validator)
Adds a validation to the list of validators,
|
| Modifier and Type | Method and Description |
|---|---|
B |
PropertyBuilderBase.validations(List<Validator<T>> validators)
Adds a list of Validators to the list of validators being built.
|
| Constructor and Description |
|---|
IntProp(Integer defaultValue,
boolean required,
String shortDesc,
List<Validator<Integer>> validators,
List<Name> aliases,
PropertyType paramType,
ValueType<Integer> valueType,
Trimmer trimmer,
String helpText) |
LngProp(Long defaultValue,
boolean required,
String shortDesc,
List<Validator<Long>> validators,
List<Name> aliases,
PropertyType paramType,
ValueType<Long> valueType,
Trimmer trimmer,
String helpText) |
LocalDateTimeProp(LocalDateTime defaultValue,
boolean required,
String shortDesc,
List<Validator<LocalDateTime>> validators,
List<Name> aliases,
PropertyType paramType,
ValueType<LocalDateTime> valueType,
Trimmer trimmer,
String helpText) |
PropertyBase(T defaultValue,
boolean required,
String shortDesc,
List<Validator<T>> validators,
List<Name> aliases,
PropertyType paramType,
ValueType<T> valueType,
Trimmer trimmer,
String helpText) |
StrProp(String defaultValue,
boolean required,
String shortDesc,
List<Validator<String>> validators,
List<Name> aliases,
PropertyType paramType,
ValueType<String> valueType,
Trimmer trimmer,
String helpText) |
| Modifier and Type | Class and Description |
|---|---|
class |
IntValidator
A collection of String validation types
|
static class |
IntValidator.GreaterThan
Validate that an integer is greater than a reference value.
|
static class |
IntValidator.GreaterThanOrEqualTo
Validate that an integer is greater than or equal to a reference value.
|
static class |
IntValidator.LessThan
Validate that an integer is less than a reference value.
|
static class |
IntValidator.LessThanOrEqualTo
Validate that an integer is less than or equal to a reference value.
|
class |
LngValidator
A collection of Long validation types
|
static class |
LngValidator.GreaterThan
Validate that a long is greater than a specified reference.
|
static class |
LngValidator.GreaterThanOrEqualTo
Validate that an long is greater than or equal to a specified reference.
|
static class |
LngValidator.LessThan
Validate that an long is less than a specified reference.
|
static class |
LngValidator.LessThanOrEqualTo
Validate that a long is less than or equal to a specified reference.
|
class |
LocalDateTimeValidator
A collection of LocalDateTime validation types
|
static class |
LocalDateTimeValidator.After |
static class |
LocalDateTimeValidator.Before |
static class |
LocalDateTimeValidator.SameTimeOrAfter |
static class |
LocalDateTimeValidator.SameTimeOrBefore |
static class |
StringValidator.EndsWith
Validate that a string ends with a specific string.
|
static class |
StringValidator.Regex
Validate based on a regex string.
|
static class |
StringValidator.StartsWith
Validate that a string starts with a specific string.
|
Copyright © 2017. All rights reserved.