Class ValueValidator

java.lang.Object
com.yworkflow.definition.model.value.ValueValidator

public final class ValueValidator extends Object
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 Details

    • ValueValidator

      public ValueValidator()
  • Method Details

    • validate

      public static void validate(String name, String value)
      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