Class ValueValidator
java.lang.Object
com.yworkflow.definition.model.value.ValueValidator
Utility class for validating value objects used in the workflow system. ValueValidator provides
common validation logic for ensuring that workflow identifiers and values meet the required
constraints.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ValueValidator
public ValueValidator()
-
-
Method Details
-
validate
Validates that a value is not null or empty.- Parameters:
name- the name of the value being validated (used in error messages)value- the value to validate- Throws:
IllegalArgumentException- if the value is null or empty
-