Interface RuleActionsConverter

All Known Implementing Classes:
DefaultRuleActionsConverter

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

    • toString

      String toString(List<RuleActionData> actions, Map<String,RuleActionDefinitionData> actionDefinitions)
      Converts the action data objects to a String representation. In most cases it is better to use RuleActionsService#convertActionsToString(List).
      Parameters:
      actions - - the action data objects
      actionDefinitions - - action definitions
      Returns:
      the String representation
    • fromString

      List<RuleActionData> fromString(String actions, Map<String,RuleActionDefinitionData> actionDefinitions)
      Converts the String representation to action data objects. In most cases it is better to use RuleActionsService#convertActionsFromString(String).
      Parameters:
      actions - - the String representation
      actionDefinitions - - action definitions
      Returns:
      the action data objects