Interface ValidationType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    ValidationTypeImpl

    public interface ValidationType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the validationType xsd type
    • Method Detail

      • getOrCreateValidConnectionChecker

        ExtensionType<ValidationType<T>> getOrCreateValidConnectionChecker()
        If not already created, a new valid-connection-checker element with the given value will be created. Otherwise, the existing valid-connection-checker element will be returned.
        Returns:
        a new or existing instance of ExtensionType>
      • removeValidConnectionChecker

        ValidationType<T> removeValidConnectionChecker()
        Removes the valid-connection-checker element
        Returns:
        the current instance of ValidationType
      • checkValidConnectionSql

        ValidationType<T> checkValidConnectionSql​(String checkValidConnectionSql)
        Sets the check-valid-connection-sql element
        Parameters:
        checkValidConnectionSql - the value for the element check-valid-connection-sql
        Returns:
        the current instance of ValidationType
      • getCheckValidConnectionSql

        String getCheckValidConnectionSql()
        Returns the check-valid-connection-sql element
        Returns:
        the node defined for the element check-valid-connection-sql
      • removeCheckValidConnectionSql

        ValidationType<T> removeCheckValidConnectionSql()
        Removes the check-valid-connection-sql element
        Returns:
        the current instance of ValidationType
      • validateOnMatch

        ValidationType<T> validateOnMatch​(Boolean validateOnMatch)
        Sets the validate-on-match element
        Parameters:
        validateOnMatch - the value for the element validate-on-match
        Returns:
        the current instance of ValidationType
      • isValidateOnMatch

        Boolean isValidateOnMatch()
        Returns the validate-on-match element
        Returns:
        the node defined for the element validate-on-match
      • removeValidateOnMatch

        ValidationType<T> removeValidateOnMatch()
        Removes the validate-on-match element
        Returns:
        the current instance of ValidationType
      • backgroundValidation

        ValidationType<T> backgroundValidation​(Boolean backgroundValidation)
        Sets the background-validation element
        Parameters:
        backgroundValidation - the value for the element background-validation
        Returns:
        the current instance of ValidationType
      • isBackgroundValidation

        Boolean isBackgroundValidation()
        Returns the background-validation element
        Returns:
        the node defined for the element background-validation
      • removeBackgroundValidation

        ValidationType<T> removeBackgroundValidation()
        Removes the background-validation element
        Returns:
        the current instance of ValidationType
      • backgroundValidationMillis

        ValidationType<T> backgroundValidationMillis​(Integer backgroundValidationMillis)
        Sets the background-validation-millis element
        Parameters:
        backgroundValidationMillis - the value for the element background-validation-millis
        Returns:
        the current instance of ValidationType
      • getBackgroundValidationMillis

        Integer getBackgroundValidationMillis()
        Returns the background-validation-millis element
        Returns:
        the node defined for the element background-validation-millis
      • removeBackgroundValidationMillis

        ValidationType<T> removeBackgroundValidationMillis()
        Removes the background-validation-millis element
        Returns:
        the current instance of ValidationType
      • useFastFail

        ValidationType<T> useFastFail​(Boolean useFastFail)
        Sets the use-fast-fail element
        Parameters:
        useFastFail - the value for the element use-fast-fail
        Returns:
        the current instance of ValidationType
      • isUseFastFail

        Boolean isUseFastFail()
        Returns the use-fast-fail element
        Returns:
        the node defined for the element use-fast-fail
      • removeUseFastFail

        ValidationType<T> removeUseFastFail()
        Removes the use-fast-fail element
        Returns:
        the current instance of ValidationType
      • getOrCreateStaleConnectionChecker

        ExtensionType<ValidationType<T>> getOrCreateStaleConnectionChecker()
        If not already created, a new stale-connection-checker element with the given value will be created. Otherwise, the existing stale-connection-checker element will be returned.
        Returns:
        a new or existing instance of ExtensionType>
      • removeStaleConnectionChecker

        ValidationType<T> removeStaleConnectionChecker()
        Removes the stale-connection-checker element
        Returns:
        the current instance of ValidationType
      • getOrCreateExceptionSorter

        ExtensionType<ValidationType<T>> getOrCreateExceptionSorter()
        If not already created, a new exception-sorter element with the given value will be created. Otherwise, the existing exception-sorter element will be returned.
        Returns:
        a new or existing instance of ExtensionType>
      • removeExceptionSorter

        ValidationType<T> removeExceptionSorter()
        Removes the exception-sorter element
        Returns:
        the current instance of ValidationType