public static enum PostgresConnectorConfig.AutoCreateMode extends Enum<PostgresConnectorConfig.AutoCreateMode> implements EnumeratedValue
| Enum Constant and Description |
|---|
ALL_TABLES
Enable publication for all tables.
|
DISABLED
No Publication will be created, it's expected the user
has already created the publication.
|
FILTERED
Enable publication on a specific set of tables.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static PostgresConnectorConfig.AutoCreateMode |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static PostgresConnectorConfig.AutoCreateMode |
parse(String value,
String defaultValue)
Determine if the supplied value is one of the predefined options.
|
static PostgresConnectorConfig.AutoCreateMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PostgresConnectorConfig.AutoCreateMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PostgresConnectorConfig.AutoCreateMode DISABLED
public static final PostgresConnectorConfig.AutoCreateMode ALL_TABLES
public static final PostgresConnectorConfig.AutoCreateMode FILTERED
private final String value
public static PostgresConnectorConfig.AutoCreateMode[] values()
for (PostgresConnectorConfig.AutoCreateMode c : PostgresConnectorConfig.AutoCreateMode.values()) System.out.println(c);
public static PostgresConnectorConfig.AutoCreateMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
getValue in interface EnumeratedValuepublic static PostgresConnectorConfig.AutoCreateMode parse(String value)
value - the configuration property value; may not be nullpublic static PostgresConnectorConfig.AutoCreateMode parse(String value, String defaultValue)
value - the configuration property value; may not be nulldefaultValue - the default value; may be nullCopyright © 2021 JBoss by Red Hat. All rights reserved.