Package: LiquibaseClientSettingKeys
LiquibaseClientSettingKeys
name | instruction | branch | complexity | line | method | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
LiquibaseClientSettingKeys(String, int, String) |
|
|
|
|
|
||||||||||||||||||||
key() |
|
|
|
|
|
||||||||||||||||||||
static {...} |
|
|
|
|
|
Coverage
1: /*******************************************************************************
2: * Copyright (c) 2020, 2022 Eurotech and/or its affiliates and others
3: *
4: * This program and the accompanying materials are made
5: * available under the terms of the Eclipse Public License 2.0
6: * which is available at https://www.eclipse.org/legal/epl-2.0/
7: *
8: * SPDX-License-Identifier: EPL-2.0
9: *
10: * Contributors:
11: * Eurotech - initial API and implementation
12: *******************************************************************************/
13: package org.eclipse.kapua.commons.liquibase.settings;
14:
15: import org.eclipse.kapua.commons.setting.SettingKey;
16:
17: /**
18: * {@link LiquibaseClientSettings} {@link SettingKey}s
19: *
20: * @since 1.2.0
21: */
22: public enum LiquibaseClientSettingKeys implements SettingKey {
23:
24: /**
25: * Whether or not force the fix of the SQL timestamps.
26: *
27: * @since 1.2.0
28: */
29: FORCE_TIMESTAMPS_FIX("liquibaseClient.timestamps.fix.force"),
30:
31: /**
32: * {@link liquibase.Liquibase} version.
33: *
34: * @since 1.2.0
35: */
36: LIQUIBASE_VERSION("liquibaseClient.liquibase.version");
37:
38:
39: /**
40: * The {@link String} {@link LiquibaseClientSettingKeys} name.
41: */
42: private final String key;
43:
44: /**
45: * Constructor.
46: *
47: * @param key The {@link String} {@link LiquibaseClientSettingKeys} name.
48: * @since 1.2.0
49: */
50: private LiquibaseClientSettingKeys(String key) {
51: this.key = key;
52: }
53:
54: @Override
55: public String key() {
56: return key;
57: }
58: }