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 ValidationResponseValidationResponse.SILENT_FAILReturns a failure validation response, which is going to cancel field set silently.static final ValidationResponseValidationResponse.SUCCESSReturns successful validation response.Methods in com.mrivanplays.annotationconfig.core.annotations.custom that return ValidationResponseModifier and TypeMethodDescriptionstatic ValidationResponseReturns a failure validation response.static ValidationResponseValidationResponse.failSilently()Returns a failure validation response, which is going to cancel field set silently.static ValidationResponseValidationResponse.fromBooleanValue(boolean successful) Returns validation response given the boolean value.static ValidationResponseValidationResponse.fromBooleanValue(boolean successful, Throwable onFailError) Returns validation response given the boolean value.static ValidationResponseValidationResponse.fromBooleanValue(boolean successful, Throwable onFailError, Runnable onSuccess) Returns validation response given the boolean value.static ValidationResponseValidationResponse.success()Returns successful validation response.static ValidationResponseReturns 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 inputtedvalueis valid for the custom annotation with which the inputtedFieldfieldwas annotated.