public enum MigratorCommandLineOption extends Enum<MigratorCommandLineOption>
MigratorCommandLine
.Enum Constant and Description |
---|
BACKUP
Whether a backup should be created.
|
HISTORY
The history file.
|
LIBRARY
The set of libraries.
|
MODELS
The models that need to be migrated.
|
OPERATION
The set of operations.
|
SOURCE_RELEASE
The source release.
|
TARGET_RELEASE
The target release.
|
VALIDATION_LEVEL
The validation level.
|
VM_ARGUMENTS
JVM arguments.
|
Modifier and Type | Method and Description |
---|---|
static MigratorCommandLineOption |
getOption(char character)
Get the option with a certain character.
|
String |
id()
Get the identifier of the option.
|
String |
toOptionPrefix()
Get the command line prefix for this option.
|
static MigratorCommandLineOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MigratorCommandLineOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MigratorCommandLineOption MODELS
public static final MigratorCommandLineOption HISTORY
public static final MigratorCommandLineOption SOURCE_RELEASE
public static final MigratorCommandLineOption TARGET_RELEASE
public static final MigratorCommandLineOption VALIDATION_LEVEL
public static final MigratorCommandLineOption BACKUP
public static final MigratorCommandLineOption OPERATION
public static final MigratorCommandLineOption LIBRARY
public static final MigratorCommandLineOption VM_ARGUMENTS
public static MigratorCommandLineOption[] values()
for (MigratorCommandLineOption c : MigratorCommandLineOption.values()) System.out.println(c);
public static MigratorCommandLineOption 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 MigratorCommandLineOption getOption(char character)
public String toOptionPrefix()
public String id()
Copyright © 2019. All rights reserved.