public.javadoc.org.spincast.plugins.validation.ISpincastValidationConfig.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
The newest version!
ISpincastValidationConfig (org.spincast:spincast-framework 0.9.28 API)
org.spincast.plugins.validation
Interface ISpincastValidationConfig
-
- All Known Implementing Classes:
- SpincastValidationConfigDefault
public interface ISpincastValidationConfig
Configurations requried by the Spincast bean validation plugin.
We use "@ImplementedBy" to specify the default configurations
to use if none is specified in a Guice module.
-
-
Method Summary
All Methods Instance Methods Abstract Methods
Modifier and Type
Method and Description
String
getDefaultGenericErrorMessage()
Default generic error message.
String
getErrorMessageDefaultMaxLength(long maxLength,
long currentLength)
Default message for a Maximum Length validation.
String
getErrorMessageDefaultMaxSize(long maxSize,
long currentSize)
Default message for a Maximum Size validation.
String
getErrorMessageDefaultMinLength(long minLength,
long currentLength)
Default message for a Minimum Length validation.
String
getErrorMessageDefaultMinSize(long minSize,
long currentSize)
Default message for a Minimum Size validation.
String
getErrorMessageDefaultNotBlank()
Default message for a Not Blank validation.
String
getErrorMessageDefaultNotNull()
Default message for a Not Null validation.
String
getErrorMessageDefaultPattern(String pattern)
Default message for a Pattern validation.
String
getErrorMessageEmail()
Default message for a Email validation.
-
-
Method Detail
-
getErrorMessageDefaultNotNull
String getErrorMessageDefaultNotNull()
Default message for a Not Null validation.
-
getErrorMessageDefaultNotBlank
String getErrorMessageDefaultNotBlank()
Default message for a Not Blank validation.
-
getErrorMessageDefaultMinLength
String getErrorMessageDefaultMinLength(long minLength,
long currentLength)
Default message for a Minimum Length validation.
-
getErrorMessageDefaultMaxLength
String getErrorMessageDefaultMaxLength(long maxLength,
long currentLength)
Default message for a Maximum Length validation.
-
getDefaultGenericErrorMessage
String getDefaultGenericErrorMessage()
Default generic error message.
-
getErrorMessageDefaultPattern
String getErrorMessageDefaultPattern(String pattern)
Default message for a Pattern validation.
-
getErrorMessageEmail
String getErrorMessageEmail()
Default message for a Email validation.
-
getErrorMessageDefaultMinSize
String getErrorMessageDefaultMinSize(long minSize,
long currentSize)
Default message for a Minimum Size validation.
-
getErrorMessageDefaultMaxSize
String getErrorMessageDefaultMaxSize(long maxSize,
long currentSize)
Default message for a Maximum Size validation.
Copyright © 2016. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy