| Package | Description |
|---|---|
| net.pterodactylus.util.validation |
| Modifier and Type | Class and Description |
|---|---|
class |
AndValidator<T>
|
class |
DoubleRangeValidator
|
class |
EqualityValidator<T>
|
class |
IdentityValidator<T>
Validator implementation that requires an object to be the same
object as another object. |
class |
IntegerRangeValidator
|
class |
LongRangeValidator
|
class |
NotNullValidator<T>
Validator implementation that validates that an object is not null. |
class |
NotValidator<T>
|
class |
OrValidator<T>
|
class |
SubClassValidator
Validator implementation that validates that an object‘s
class is assignable from a given class, i.e. that its class is the given class or a
subclass of it. |
class |
ValidatorContainer<T>
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Validator<T>> |
ValidatorContainer.getValidators()
Returns the list of validators.
|
| Modifier and Type | Method and Description |
|---|---|
ValidatorContainer<T> |
ValidatorContainer.addValidator(Validator<T> validator)
Adds a validator to this validator container.
|
| Constructor and Description |
|---|
AndValidator(Validator<T>... validators)
Creates a new “AND” validator.
|
NotValidator(Validator<T> validator)
Creates a new inverting validator.
|
OrValidator(Validator<T>... validators)
Creates a new “OR” validator.
|
ValidatorContainer(Validator<T>... validators)
Creates a new validator container.
|
Copyright © 2026. All rights reserved.