Interface ValidatorInfo<T>
public interface ValidatorInfo<T>
Interface to retrieve information about a validator used on a config element
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ValidatorInfo<T> empty()booleanGets whether this object matches the validators type and is not corrected by the validator.type()Gets the annotation class used.value()Gets the annotation used.default <A> AGets the annotation used, if it matches the given annotation class or null if not.
-
Method Details
-
type
-
value
-
value
-
isValid
Gets whether this object matches the validators type and is not corrected by the validator. -
empty
-