Class DataDictionaryValidator.ValidationContext
- java.lang.Object
-
- com.flowable.platform.engine.impl.datadictionary.validation.DataDictionaryValidator.ValidationContext
-
- All Implemented Interfaces:
ValidationResult,ValidationConstraint.Context
- Enclosing class:
- DataDictionaryValidator
protected static class DataDictionaryValidator.ValidationContext extends Object implements ValidationConstraint.Context, ValidationResult
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcurrentPathprotected StringcurrentTypeprotected StringcurrentTypeNameprotected StringcustomTypeNameprotected List<DataDictionaryValidator.ErrorProblem>errorMessagesprotected ExpressionManagerexpressionManagerprotected Stringtypeprotected Objectvalueprotected StringvariableNameprotected ObjectvariableValue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValidationError(String problemMessage)booleanevaluateExpression(String expressionText)ObjectgetValue()booleanisValid()voidsetContext(Object value, String path, String type, String typeName)StringtoFormattedMessage()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.flowable.platform.engine.impl.datadictionary.validation.ValidationResult
isInvalid
-
-
-
-
Field Detail
-
errorMessages
protected final List<DataDictionaryValidator.ErrorProblem> errorMessages
-
variableName
protected final String variableName
-
type
protected final String type
-
customTypeName
protected final String customTypeName
-
variableValue
protected final Object variableValue
-
expressionManager
protected final ExpressionManager expressionManager
-
value
protected Object value
-
currentPath
protected String currentPath
-
currentTypeName
protected String currentTypeName
-
currentType
protected String currentType
-
-
Method Detail
-
isValid
public boolean isValid()
- Specified by:
isValidin interfaceValidationResult
-
toFormattedMessage
public String toFormattedMessage()
- Specified by:
toFormattedMessagein interfaceValidationResult
-
getValue
public Object getValue()
- Specified by:
getValuein interfaceValidationConstraint.Context
-
addValidationError
public void addValidationError(String problemMessage)
- Specified by:
addValidationErrorin interfaceValidationConstraint.Context
-
evaluateExpression
public boolean evaluateExpression(String expressionText)
- Specified by:
evaluateExpressionin interfaceValidationConstraint.Context
-
-