Class PersistenceExtensionUtils
- java.lang.Object
-
- org.optaplanner.workbench.screens.guidedrule.backend.server.plugin.PersistenceExtensionUtils
-
public final class PersistenceExtensionUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXCEPTION_MESSAGE_BASE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringextractConstraintMatchValue(String s)static StringunwrapCurlyBrackets(String stringToUnwrap)Return content that was wrapped in '{' and '}' charactersstatic StringunwrapParenthesis(String stringToUnwrap)Return content that was wrapped in '(' and ')' characters
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_BASE
public static final String EXCEPTION_MESSAGE_BASE
- See Also:
- Constant Field Values
-
-
Method Detail
-
unwrapParenthesis
public static String unwrapParenthesis(String stringToUnwrap)
Return content that was wrapped in '(' and ')' characters- Parameters:
stringToUnwrap-- Returns:
- unwrapped text
-
unwrapCurlyBrackets
public static String unwrapCurlyBrackets(String stringToUnwrap)
Return content that was wrapped in '{' and '}' characters- Parameters:
stringToUnwrap-- Returns:
- unwrapped text
-
-