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 Summary
Modifier and TypeMethodDescriptionfromString(String actions, Map<String, RuleActionDefinitionData> actionDefinitions) Converts the String representation to action data objects.toString(List<RuleActionData> actions, Map<String, RuleActionDefinitionData> actionDefinitions) Converts the action data objects to a String representation.
-
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 useRuleActionsService#convertActionsToString(List).- Parameters:
actions- - the action data objectsactionDefinitions- - 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 useRuleActionsService#convertActionsFromString(String).- Parameters:
actions- - the String representationactionDefinitions- - action definitions- Returns:
- the action data objects
-