public class MatchingConditionsValidator extends AbstractObjectValidator<MatchingConditionsValidator,Object>
Constructor and Description |
---|
MatchingConditionsValidator(String parameterName,
MatchingCondition[] conditions) |
Modifier and Type | Method and Description |
---|---|
MatchingCondition[] |
getMatchingConditions(Set<MatchingMethod> supportedMatchingMethods) |
boolean |
isEmpty() |
MatchingConditionsValidator |
notEmpty() |
MatchingConditionsValidator |
notNull() |
getParameterName, getValue, setValue
public MatchingConditionsValidator(String parameterName, MatchingCondition[] conditions)
public MatchingConditionsValidator notNull() throws InvalidParameterException
notNull
in class AbstractObjectValidator<MatchingConditionsValidator,Object>
InvalidParameterException
public MatchingConditionsValidator notEmpty() throws InvalidParameterException
InvalidParameterException
public MatchingCondition[] getMatchingConditions(Set<MatchingMethod> supportedMatchingMethods) throws InvalidParameterException
InvalidParameterException
public boolean isEmpty()