Class ExpressionUtils
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.utils.ExpressionUtils
-
public class ExpressionUtils extends Object
This utils class holds all shared functions used by Expression handling, where expressions are used defined expression code put on GIVEN/EXPECTED data cells
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringensureExpressionSyntax(String expressionValue)It ensures if the given string starts withEXPRESSION_VALUE_PREFIX.
-
-
-
Method Detail
-
ensureExpressionSyntax
public static String ensureExpressionSyntax(String expressionValue)
It ensures if the given string starts withEXPRESSION_VALUE_PREFIX. If TRUE, it simply returns the given string. Otherwise, it addsEXPRESSION_VALUE_PREFIXas prefix of the given string.- Parameters:
expressionValue-- Returns:
-
-