Interface DroolsRuleValueFormatter

All Known Implementing Classes:
ActionsDroolsRuleValueFormatter, ConditionsDroolsRuleValueFormatter, DefaultDroolsRuleValueFormatter

public interface DroolsRuleValueFormatter
Implementations for this interface can format a value to its drools representation.
  • Method Details

    • formatValue

      String formatValue(DroolsRuleGeneratorContext context, Object value)
      Converts a value to its drools representation.
      Parameters:
      context - - the drools rule generator context
      value - - the value to convert
      Returns:
      the drools representation for the value