Uses of Class
de.mlo.dev.validation.ValidationInfo
-
-
Uses of ValidationInfo in de.mlo.dev.validation
Methods in de.mlo.dev.validation that return ValidationInfo Modifier and Type Method Description @NotNull ValidationInfoValidationStatement. execute()The implementation must contain any validation logic.static @NotNull ValidationInfoValidationInfo. invalid(@NotNull String messageFormat, Object... args)Creates a newValidationInfowhich indicates that the validation process was not successful:isValid()returnsfalse.
In this case you should give a detailed messages what went wrong.
This function has a built-in formatter which usesString.format(String, Object...)static @NotNull ValidationInfoValidationInfo. invalid(@Nullable String message)Creates a newValidationInfowhich indicates that the validation process was not successful:isValid()returnsfalse.
In this case you should give a detailed messages what went wrong.static @NotNull ValidationInfoValidationInfo. valid()Creates a newValidationInfowhich indicates that the validation process was successful:isValid()returnstrue.
The message will benullin this case.static @NotNull ValidationInfoValidationInfo. valid(@Nullable String message)Creates a newValidationInfowhich indicates that the validation process was successful:isValid()returnstrue.Methods in de.mlo.dev.validation that return types with arguments of type ValidationInfo Modifier and Type Method Description List<ValidationInfo>ValidationResult. getInfos()Iterator<ValidationInfo>ValidationResult. iterator()Methods in de.mlo.dev.validation with parameters of type ValidationInfo Modifier and Type Method Description ValidationResultValidationResult. add(ValidationInfo validationInfo)Adds a newValidationInfoat the end of the list.ValidationResultValidationResult. add(ValidationInfo first, ValidationInfo... more)Adds one or moreValidationInfos at the end of the listintValidationInfo. compareTo(@NotNull ValidationInfo o)Method parameters in de.mlo.dev.validation with type arguments of type ValidationInfo Modifier and Type Method Description ValidationResultValidationResult. add(Collection<ValidationInfo> validationInfos)Adds a bunch ofValidationInfos at the end of the list
-