Class InvalidFormattedSqlPatternsForOssUtil
java.lang.Object
liquibase.parser.core.formattedsql.InvalidFormattedSqlPatternsForOssUtil
Utility class for handling invalid formatted SQL patterns for OSS distribution.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Raise an exception if a Pro-only command is detected and no valid Liquibase license is present.
-
Field Details
-
ROLLBACK_SQL_FILE_REGEX
-
ROLLBACK_SQL_FILE_PATTERN
-
TAG_DATABASE_REGEX
-
TAG_DATABASE_PATTERN
-
INCLUDE_REGEX
-
INCLUDE_PATTERN
-
INCLUDE_ALL_REGEX
-
INCLUDE_ALL_PATTERN
-
-
Method Details
-
interruptIfIsProCommandAndNoLicenseIsPresent
public static void interruptIfIsProCommandAndNoLicenseIsPresent(String line) throws ChangeLogParseException Raise an exception if a Pro-only command is detected and no valid Liquibase license is present. This method checks the given line for specific patterns associated with Pro-only commands and, if matched, informs the user that the command is not supported in the Liquibase Community Edition.- Parameters:
line
- a string representing the command or input line to be checked for Pro-only patterns- Throws:
ChangeLogParseException
-