public enum SchemaAction extends Enum<SchemaAction>
SchemaAction controls how the event persistence feature manages the database
tables it uses.| Enum Constant and Description |
|---|
CREATE
Create the tables if they do not already exist.
|
NONE
Assume the tables already exist and do nothing.
|
VALIDATE
Do not create anything, but verify the tables exist and fail fast otherwise.
|
| Modifier and Type | Method and Description |
|---|---|
static SchemaAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaAction CREATE
public static final SchemaAction VALIDATE
public static final SchemaAction NONE
public static SchemaAction[] values()
for (SchemaAction c : SchemaAction.values()) System.out.println(c);
public static SchemaAction 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 nullCopyright © 2026. All rights reserved.