Class WorkflowConditionInterpreter
java.lang.Object
org.opencastproject.workflow.conditionparser.WorkflowConditionInterpreter
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic StringreplaceVariables(String source, Function<String, String> systemPropertyGetter, Map<String, String> properties, boolean quoteStrings) Replaces all occurrences of${.*+}with the property in the provided map, or if not available in the map, from the bundle context properties, if available.
-
Method Details
-
replaceVariables
public static String replaceVariables(String source, Function<String, String> systemPropertyGetter, Map<String, String> properties, boolean quoteStrings) Replaces all occurrences of${.*+}with the property in the provided map, or if not available in the map, from the bundle context properties, if available.- Parameters:
source- The source stringproperties- The map of properties to replace- Returns:
- The resulting string
-
interpret
- Throws:
IllegalArgumentException
-