public interface ValidationType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
validationType
xsd typeModifier and Type | Method and Description |
---|---|
ValidationType<T> |
backgroundValidation(Boolean backgroundValidation)
Sets the
background-validation element |
ValidationType<T> |
backgroundValidationMillis(Integer backgroundValidationMillis)
Sets the
background-validation-millis element |
ValidationType<T> |
checkValidConnectionSql(String checkValidConnectionSql)
Sets the
check-valid-connection-sql element |
Integer |
getBackgroundValidationMillis()
Returns the
background-validation-millis element |
String |
getCheckValidConnectionSql()
Returns the
check-valid-connection-sql element |
ExtensionType<ValidationType<T>> |
getOrCreateExceptionSorter()
If not already created, a new
exception-sorter element with the given value will be created. |
ExtensionType<ValidationType<T>> |
getOrCreateStaleConnectionChecker()
If not already created, a new
stale-connection-checker element with the given value will be created. |
ExtensionType<ValidationType<T>> |
getOrCreateValidConnectionChecker()
If not already created, a new
valid-connection-checker element with the given value will be created. |
Boolean |
isBackgroundValidation()
Returns the
background-validation element |
Boolean |
isUseFastFail()
Returns the
use-fast-fail element |
Boolean |
isValidateOnMatch()
Returns the
validate-on-match element |
ValidationType<T> |
removeBackgroundValidation()
Removes the
background-validation element |
ValidationType<T> |
removeBackgroundValidationMillis()
Removes the
background-validation-millis element |
ValidationType<T> |
removeCheckValidConnectionSql()
Removes the
check-valid-connection-sql element |
ValidationType<T> |
removeExceptionSorter()
Removes the
exception-sorter element |
ValidationType<T> |
removeStaleConnectionChecker()
Removes the
stale-connection-checker element |
ValidationType<T> |
removeUseFastFail()
Removes the
use-fast-fail element |
ValidationType<T> |
removeValidateOnMatch()
Removes the
validate-on-match element |
ValidationType<T> |
removeValidConnectionChecker()
Removes the
valid-connection-checker element |
ValidationType<T> |
useFastFail(Boolean useFastFail)
Sets the
use-fast-fail element |
ValidationType<T> |
validateOnMatch(Boolean validateOnMatch)
Sets the
validate-on-match element |
ExtensionType<ValidationType<T>> getOrCreateValidConnectionChecker()
valid-connection-checker
element with the given value will be created.
Otherwise, the existing valid-connection-checker
element will be returned.ExtensionType>
ValidationType<T> removeValidConnectionChecker()
valid-connection-checker
elementValidationType
ValidationType<T> checkValidConnectionSql(String checkValidConnectionSql)
check-valid-connection-sql
elementcheckValidConnectionSql
- the value for the element check-valid-connection-sql
ValidationType
String getCheckValidConnectionSql()
check-valid-connection-sql
elementcheck-valid-connection-sql
ValidationType<T> removeCheckValidConnectionSql()
check-valid-connection-sql
elementValidationType
ValidationType<T> validateOnMatch(Boolean validateOnMatch)
validate-on-match
elementvalidateOnMatch
- the value for the element validate-on-match
ValidationType
Boolean isValidateOnMatch()
validate-on-match
elementvalidate-on-match
ValidationType<T> removeValidateOnMatch()
validate-on-match
elementValidationType
ValidationType<T> backgroundValidation(Boolean backgroundValidation)
background-validation
elementbackgroundValidation
- the value for the element background-validation
ValidationType
Boolean isBackgroundValidation()
background-validation
elementbackground-validation
ValidationType<T> removeBackgroundValidation()
background-validation
elementValidationType
ValidationType<T> backgroundValidationMillis(Integer backgroundValidationMillis)
background-validation-millis
elementbackgroundValidationMillis
- the value for the element background-validation-millis
ValidationType
Integer getBackgroundValidationMillis()
background-validation-millis
elementbackground-validation-millis
ValidationType<T> removeBackgroundValidationMillis()
background-validation-millis
elementValidationType
ValidationType<T> useFastFail(Boolean useFastFail)
use-fast-fail
elementuseFastFail
- the value for the element use-fast-fail
ValidationType
Boolean isUseFastFail()
use-fast-fail
elementuse-fast-fail
ValidationType<T> removeUseFastFail()
use-fast-fail
elementValidationType
ExtensionType<ValidationType<T>> getOrCreateStaleConnectionChecker()
stale-connection-checker
element with the given value will be created.
Otherwise, the existing stale-connection-checker
element will be returned.ExtensionType>
ValidationType<T> removeStaleConnectionChecker()
stale-connection-checker
elementValidationType
ExtensionType<ValidationType<T>> getOrCreateExceptionSorter()
exception-sorter
element with the given value will be created.
Otherwise, the existing exception-sorter
element will be returned.ExtensionType>
ValidationType<T> removeExceptionSorter()
exception-sorter
elementValidationType
Copyright © 2017 JBoss by Red Hat. All rights reserved.