public static enum MySqlConnectorConfig.SnapshotMode extends Enum<MySqlConnectorConfig.SnapshotMode>
| Enum Constant and Description |
|---|
INITIAL |
NEVER |
WHEN_NEEDED
Forwards each event as a structured Kafka Connect message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static MySqlConnectorConfig.SnapshotMode |
parse(String value)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.SnapshotMode |
parse(String value,
String defaultValue)
Determine if the supplied value is one of the predefined options.
|
static MySqlConnectorConfig.SnapshotMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MySqlConnectorConfig.SnapshotMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MySqlConnectorConfig.SnapshotMode WHEN_NEEDED
public static final MySqlConnectorConfig.SnapshotMode INITIAL
public static final MySqlConnectorConfig.SnapshotMode NEVER
private final String value
public static MySqlConnectorConfig.SnapshotMode[] values()
for (MySqlConnectorConfig.SnapshotMode c : MySqlConnectorConfig.SnapshotMode.values()) System.out.println(c);
public static MySqlConnectorConfig.SnapshotMode 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()
public static MySqlConnectorConfig.SnapshotMode parse(String value)
value - the configuration property value; may not be nullpublic static MySqlConnectorConfig.SnapshotMode parse(String value, String defaultValue)
value - the configuration property value; may not be nulldefaultValue - the default value; may be nullCopyright © 2016 JBoss by Red Hat. All rights reserved.