public static enum SchemaExport.Action extends Enum<SchemaExport.Action>
Enum Constant and Description |
---|
BOTH
Drop and then create
|
CREATE
Create only
|
DROP
Drop only
|
NONE
None - duh :P
|
Modifier and Type | Method and Description |
---|---|
boolean |
doCreate() |
boolean |
doDrop() |
static SchemaExport.Action |
parseCommandLineOption(String actionText) |
static SchemaExport.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaExport.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaExport.Action NONE
public static final SchemaExport.Action CREATE
public static final SchemaExport.Action DROP
public static final SchemaExport.Action BOTH
public static SchemaExport.Action[] values()
for (SchemaExport.Action c : SchemaExport.Action.values()) System.out.println(c);
public static SchemaExport.Action 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 boolean doCreate()
public boolean doDrop()
public static SchemaExport.Action parseCommandLineOption(String actionText)
Copyright © 2019 JBoss by Red Hat. All rights reserved.