public class SystemParamUpgradeChange extends Object implements liquibase.change.custom.CustomSqlChange
| Constructor and Description |
|---|
SystemParamUpgradeChange() |
| Modifier and Type | Method and Description |
|---|---|
liquibase.statement.SqlStatement[] |
generateStatements(liquibase.database.Database database) |
String |
getConfirmationMessage() |
String |
getSharkValue(String key)
Próba odczytu wartości o zadanym kluczu z pliku konfiguracyjnego
|
boolean |
isPropertyInShark(String key) |
void |
setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor) |
void |
setUp() |
liquibase.exception.ValidationErrors |
validate(liquibase.database.Database database) |
public liquibase.statement.SqlStatement[] generateStatements(liquibase.database.Database database)
throws liquibase.exception.CustomChangeException
generateStatements in interface liquibase.change.custom.CustomSqlChangeliquibase.exception.CustomChangeExceptionpublic String getSharkValue(String key)
key - kluczdefaultValue - domyślna wartość, jeżeli nie zostanie odnalezionapublic boolean isPropertyInShark(String key)
public String getConfirmationMessage()
getConfirmationMessage in interface liquibase.change.custom.CustomChangepublic void setUp()
throws liquibase.exception.SetupException
setUp in interface liquibase.change.custom.CustomChangeliquibase.exception.SetupExceptionpublic void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
setFileOpener in interface liquibase.change.custom.CustomChangepublic liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
validate in interface liquibase.change.custom.CustomChangeCopyright © 2023 Suncode. All rights reserved.