![JAR search and dependency download from the Maven repository](/logo.png)
br.com.fluentvalidator.builder.AttemptedValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-fluent-validator Show documentation
Show all versions of java-fluent-validator Show documentation
A Java validation framework leveraging fluent interface style.
The newest version!
package br.com.fluentvalidator.builder;
import java.util.function.Function;
import br.com.fluentvalidator.exception.ValidationException;
public interface AttemptedValue, N extends Whenever> extends RuleBuilder {
/**
*
* @param code
* @return
*/
Code withCode(final String code);
/**
*
* @param code
* @return
*/
Code withCode(final Function code);
/**
*
* @param message
* @return
*/
Message withMessage(final String message);
/**
*
* @param message
* @return
*/
Message withMessage(final Function message);
/**
*
* @param fieldName
* @return
*/
FieldName withFieldName(final String fieldName);
/**
*
* @param fieldName
* @return
*/
FieldName withFieldName(final Function fieldName);
/**
*
* @return
*/
Critical critical();
/**
*
* @param clazz
* @return
*/
Critical critical(final Class extends ValidationException> clazz);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy