Skip navigation links
A B C E F G I L M N O P Q R S V 

A

addListValidator(Validator<R>, Function<T, Collection<R>>, String) - Method in class com.github.kamikazbee.Validator
 
addNestedValidator(Validator<R>, Function<T, R>, String) - Method in class com.github.kamikazbee.Validator
 
addRule(Rule<R, ? extends Rule>, Function<T, R>, String) - Method in class com.github.kamikazbee.Validator
 
addRule(Rule<R, ? extends Rule>, Function<T, R>) - Method in class com.github.kamikazbee.Validator
 

B

blocking(boolean) - Method in interface com.github.kamikazbee.rules.Rule
Define whether the Rule is blocking or not.

C

com.github.kamikazbee - package com.github.kamikazbee
 
com.github.kamikazbee.rules - package com.github.kamikazbee.rules
 

E

empty() - Static method in class com.github.kamikazbee.rules.Rules
Shorthand to return a new EmptyRule instance
EmptyRule - Class in com.github.kamikazbee.rules
 
exact(Number) - Method in class com.github.kamikazbee.rules.LengthRule
 
exact(Number) - Method in class com.github.kamikazbee.rules.QuantityRule
 

F

failure(String) - Static method in class com.github.kamikazbee.RuleResponse
Create a failure Response
flags(int) - Method in class com.github.kamikazbee.rules.RegexRule
 

G

getMessage() - Method in class com.github.kamikazbee.rules.LengthRule
 
getMessage() - Method in class com.github.kamikazbee.rules.QuantityRule
 
getMessage() - Method in class com.github.kamikazbee.rules.RegexRule
 
getValidation() - Method in class com.github.kamikazbee.rules.EmptyRule
 
getValidation() - Method in class com.github.kamikazbee.rules.LengthRule
 
getValidation() - Method in class com.github.kamikazbee.rules.NonNullRule
 
getValidation() - Method in class com.github.kamikazbee.rules.QuantityRule
 
getValidation() - Method in class com.github.kamikazbee.rules.RegexRule
 

I

isBlocking() - Method in interface com.github.kamikazbee.rules.Rule
Check whether the Rule is blocking or not.

L

length() - Static method in class com.github.kamikazbee.rules.Rules
Shorthand to return a new LengthRule instance
LengthRule - Class in com.github.kamikazbee.rules
 
LengthRule() - Constructor for class com.github.kamikazbee.rules.LengthRule
 

M

max(Number) - Method in class com.github.kamikazbee.rules.LengthRule
 
max(Number) - Method in class com.github.kamikazbee.rules.QuantityRule
 
message(String) - Method in interface com.github.kamikazbee.rules.Rule
Define the custom error message added in the RuleResponse when the Rule validation fails.
min(Number) - Method in class com.github.kamikazbee.rules.LengthRule
 
min(Number) - Method in class com.github.kamikazbee.rules.QuantityRule
 

N

nonNull() - Static method in class com.github.kamikazbee.rules.Rules
Shorthand to return a new NonNullRule instance
NonNullRule - Class in com.github.kamikazbee.rules
 
NonNullRule() - Constructor for class com.github.kamikazbee.rules.NonNullRule
 

O

optional(boolean) - Method in interface com.github.kamikazbee.rules.Rule
Define whether the Rule is optional or not.

P

pattern(String) - Method in class com.github.kamikazbee.rules.RegexRule
 
pattern() - Static method in class com.github.kamikazbee.rules.Rules
Shorthand to return a new RegexRule instance

Q

quantity() - Static method in class com.github.kamikazbee.rules.Rules
Shorthand to return a new QuantityRule instance
QuantityRule - Class in com.github.kamikazbee.rules
 
QuantityRule() - Constructor for class com.github.kamikazbee.rules.QuantityRule
 

R

RegexRule - Class in com.github.kamikazbee.rules
 
RegexRule() - Constructor for class com.github.kamikazbee.rules.RegexRule
 
Rule<T,R extends Rule> - Interface in com.github.kamikazbee.rules
The Rule is the base class of the validation library.
RuleResponse - Class in com.github.kamikazbee
 
Rules - Class in com.github.kamikazbee.rules
Provides shorthands for the default library Rules
Rules() - Constructor for class com.github.kamikazbee.rules.Rules
 

S

success() - Static method in class com.github.kamikazbee.RuleResponse
Create a success Response

V

validate(T) - Method in interface com.github.kamikazbee.rules.Rule
Validate a given value using this Rule
validate(T) - Method in class com.github.kamikazbee.Validator
 
Validation - Class in com.github.kamikazbee
Object denoting a specific validation that should take place
Validation(Rule, Function, String) - Constructor for class com.github.kamikazbee.Validation
Create a new Validation for an object
Validation(Rule, Function) - Constructor for class com.github.kamikazbee.Validation
Create a new Validation for an object where the error (if any) will be assigned to the "base" field
Validation(Validator, Function, String) - Constructor for class com.github.kamikazbee.Validation
Create a new Validation that will be applied to a nested object of the object to be validated
Validator<T> - Class in com.github.kamikazbee
 
Validator() - Constructor for class com.github.kamikazbee.Validator
 
A B C E F G I L M N O P Q R S V 
Skip navigation links