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 String
currentPath
protected String
currentType
protected String
currentTypeName
protected String
customTypeName
protected List<DataDictionaryValidator.ErrorProblem>
errorMessages
protected ExpressionManager
expressionManager
protected String
type
protected Object
value
protected String
variableName
protected Object
variableValue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addValidationError(String problemMessage)
boolean
evaluateExpression(String expressionText)
Object
getValue()
boolean
isValid()
void
setContext(Object value, String path, String type, String typeName)
String
toFormattedMessage()
-
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:
isValid
in interfaceValidationResult
-
toFormattedMessage
public String toFormattedMessage()
- Specified by:
toFormattedMessage
in interfaceValidationResult
-
getValue
public Object getValue()
- Specified by:
getValue
in interfaceValidationConstraint.Context
-
addValidationError
public void addValidationError(String problemMessage)
- Specified by:
addValidationError
in interfaceValidationConstraint.Context
-
evaluateExpression
public boolean evaluateExpression(String expressionText)
- Specified by:
evaluateExpression
in interfaceValidationConstraint.Context
-
-