Uses of Interface
com.mrivanplays.annotationconfig.core.annotations.custom.ValidationResponse
Packages that use ValidationResponse
-
Uses of ValidationResponse in com.mrivanplays.annotationconfig.core.annotations.custom
Fields in com.mrivanplays.annotationconfig.core.annotations.custom declared as ValidationResponseModifier and TypeFieldDescriptionstatic final ValidationResponse
ValidationResponse.SILENT_FAIL
Returns a failure validation response, which is going to cancel field set silently.static final ValidationResponse
ValidationResponse.SUCCESS
Returns successful validation response.Methods in com.mrivanplays.annotationconfig.core.annotations.custom that return ValidationResponseModifier and TypeMethodDescriptionstatic ValidationResponse
Returns a failure validation response.static ValidationResponse
ValidationResponse.failSilently()
Returns a failure validation response, which is going to cancel field set silently.static ValidationResponse
ValidationResponse.fromBooleanValue
(boolean successful) Returns validation response given the boolean value.static ValidationResponse
ValidationResponse.fromBooleanValue
(boolean successful, Throwable onFailError) Returns validation response given the boolean value.static ValidationResponse
ValidationResponse.fromBooleanValue
(boolean successful, Throwable onFailError, Runnable onSuccess) Returns validation response given the boolean value.static ValidationResponse
ValidationResponse.success()
Returns successful validation response.static ValidationResponse
Returns a successful validation response.AnnotationValidator.validate
(T annotation, Object value, CustomOptions options, Field field) AnnotationConfig calls this method whenever it finds the custom annotation this validator is bound to in order to determine whether the inputtedvalue
is valid for the custom annotation with which the inputtedField
field
was annotated.