Interface RuleConditionsConverter

All Known Implementing Classes:
DefaultRuleConditionsConverter

public interface RuleConditionsConverter
Implementations of this interface can perform conversions between condition data objects and a String representation of those objects.
  • Method Details

    • toString

      String toString(List<RuleConditionData> conditions, Map<String,RuleConditionDefinitionData> conditionDefinitions)
      Converts the condition data objects to a String representation.
      Parameters:
      conditions - - the condition data objects
      conditionDefinitions - - condition definitions
      Returns:
      the String representation
    • fromString

      List<RuleConditionData> fromString(String conditions, Map<String,RuleConditionDefinitionData> conditionDefinitions)
      Converts the String representation to condition data objects.
      Parameters:
      conditions - - the String representation
      conditionDefinitions - - condition definitions
      Returns:
      the condition data objects