public static enum Envelope.Operation extends Enum<Envelope.Operation>
operation field in the message envelope.| Enum Constant and Description |
|---|
CREATE
An operation that resulted in a new record being created in the source.
|
DELETE
An operation that resulted in an existing record being removed from or deleted in the source.
|
READ
The operation that read the current state of a record, most typically during snapshots.
|
TRUNCATE
An operation that resulted in an existing table being truncated in the source.
|
UPDATE
An operation that resulted in an existing record being updated in the source.
|
| Modifier and Type | Method and Description |
|---|---|
String |
code() |
static Envelope.Operation |
forCode(String code) |
static Envelope.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Envelope.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Envelope.Operation READ
public static final Envelope.Operation CREATE
public static final Envelope.Operation UPDATE
public static final Envelope.Operation DELETE
public static final Envelope.Operation TRUNCATE
private final String code
public static Envelope.Operation[] values()
for (Envelope.Operation c : Envelope.Operation.values()) System.out.println(c);
public static Envelope.Operation 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 static Envelope.Operation forCode(String code)
public String code()
Copyright © 2021 JBoss by Red Hat. All rights reserved.