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