Class FcMultipleConditionsCustomExpressionValidator
- java.lang.Object
-
- de.xima.fc.workflow.validation.constraintvalidators.FcMultipleConditionsCustomExpressionValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<FcMultipleConditionsCustomExpression,FcMultipleConditionProps>
public final class FcMultipleConditionsCustomExpressionValidator extends Object implements javax.validation.ConstraintValidator<FcMultipleConditionsCustomExpression,FcMultipleConditionProps>
Validator implementation for theFcMultipleConditionsCustomExpression
constraint.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description FcMultipleConditionsCustomExpressionValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EMultipleConditionCombinationType
getCombinationType(FcMultipleConditionProps value)
protected String
getCustomExpression(FcMultipleConditionProps value)
protected Set<String>
getVariableNames(FcMultipleConditionProps value)
boolean
isValid(FcMultipleConditionProps value, javax.validation.ConstraintValidatorContext context)
protected boolean
validate(T value, javax.validation.ConstraintValidatorContext context)
-
-
-
Method Detail
-
isValid
public boolean isValid(FcMultipleConditionProps value, javax.validation.ConstraintValidatorContext context)
- Specified by:
isValid
in interfacejavax.validation.ConstraintValidator<FcMultipleConditionsCustomExpression,FcMultipleConditionProps>
-
getCombinationType
protected EMultipleConditionCombinationType getCombinationType(FcMultipleConditionProps value)
-
getCustomExpression
protected String getCustomExpression(FcMultipleConditionProps value)
-
getVariableNames
protected Set<String> getVariableNames(FcMultipleConditionProps value)
-
validate
protected final boolean validate(T value, javax.validation.ConstraintValidatorContext context)
-
-