Class DataDictionaryValidatorImpl.DataDictionaryValidationBuilderImpl
java.lang.Object
com.flowable.platform.engine.impl.datadictionary.validation.DataDictionaryValidatorImpl.DataDictionaryValidationBuilderImpl
- All Implemented Interfaces:
DataDictionaryValidationBuilder
- Enclosing class:
- DataDictionaryValidatorImpl
protected static class DataDictionaryValidatorImpl.DataDictionaryValidationBuilderImpl
extends Object
implements DataDictionaryValidationBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DictionaryTypeprotected TypePropertyprotected booleanprotected final DataDictionaryValidatorImplprotected Objectprotected booleanprotected String -
Constructor Summary
ConstructorsConstructorDescriptionDataDictionaryValidationBuilderImpl(DataDictionaryValidatorImpl dataDictionaryValidator) -
Method Summary
Modifier and TypeMethodDescriptiongetType()getValue()booleantype(DictionaryType type) Sets the DictionaryType for the validation.typeProperty(TypeProperty property) Adds a type property to the validation configuration.Configures the builder to perform only a type compatibility check, bypassing other constraint checks.validate()Executes the validation process based on the configured parameters.Specifies the value to be validated.variableName(String variableName) Sets the name of the variable associated with the value being validated.
-
Field Details
-
validator
-
variableName
-
typeProperty
-
type
-
value
-
typeValidationOnly
protected boolean typeValidationOnly -
valueInitialized
protected boolean valueInitialized
-
-
Constructor Details
-
DataDictionaryValidationBuilderImpl
-
-
Method Details
-
typeProperty
Description copied from interface:DataDictionaryValidationBuilderAdds a type property to the validation configuration.- Specified by:
typePropertyin interfaceDataDictionaryValidationBuilder- Parameters:
property- The TypeProperty that describes the expected type and constraints of the property.- Returns:
- The current instance for chaining method calls.
-
type
Description copied from interface:DataDictionaryValidationBuilderSets the DictionaryType for the validation.- Specified by:
typein interfaceDataDictionaryValidationBuilder- Parameters:
type- The DictionaryType to be used in the validation process.- Returns:
- The current instance for chaining method calls.
-
value
Description copied from interface:DataDictionaryValidationBuilderSpecifies the value to be validated.- Specified by:
valuein interfaceDataDictionaryValidationBuilder- Parameters:
valueToValidate- The value that will be subjected to validation.- Returns:
- The current instance for chaining method calls.
-
variableName
Description copied from interface:DataDictionaryValidationBuilderSets the name of the variable associated with the value being validated. This can be used for identification purposes in the validation results.- Specified by:
variableNamein interfaceDataDictionaryValidationBuilder- Parameters:
variableName- The name of the variable.- Returns:
- The current instance for chaining method calls.
-
typeValidationOnly
Description copied from interface:DataDictionaryValidationBuilderConfigures the builder to perform only a type compatibility check, bypassing other constraint checks.- Specified by:
typeValidationOnlyin interfaceDataDictionaryValidationBuilder- Returns:
- The current instance for chaining method calls.
-
validate
Description copied from interface:DataDictionaryValidationBuilderExecutes the validation process based on the configured parameters.- Specified by:
validatein interfaceDataDictionaryValidationBuilder- Returns:
- ValidationResult An object containing the results of the validation process.
-
getVariableName
-
getTypeProperty
-
getType
-
getValue
-
isTypeValidationOnly
public boolean isTypeValidationOnly()
-