Class Verifier.NotNullVerifier<T>

  • Type Parameters:
    T - the type of the config property
    All Implemented Interfaces:
    Verifier<T>
    Direct Known Subclasses:
    Verifier.NotEmptyStringVerifier
    Enclosing interface:
    Verifier<T>

    public static class Verifier.NotNullVerifier<T>
    extends java.lang.Object
    implements Verifier<T>
    Verify that a property value may not be null
    • Constructor Detail

      • NotNullVerifier

        public NotNullVerifier()
    • Method Detail

      • verify

        public VerifyResult verify​(T value)
        Description copied from interface: Verifier
        Verify a config property value.
        Specified by:
        verify in interface Verifier<T>
        Parameters:
        value - the value to be verified
        Returns:
        true if the value is valid