public enum ApplyMigration extends Enum<ApplyMigration> implements CompileParameter
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Context context) |
String |
getAlias() |
String |
getDetailedDescription() |
String |
getShortDescription() |
String |
getUsage() |
void |
run(Context context) |
static ApplyMigration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplyMigration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplyMigration INSTANCE
public static ApplyMigration[] values()
for (ApplyMigration c : ApplyMigration.values()) System.out.println(c);
public static ApplyMigration 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 getAlias()
getAlias in interface CompileParameterpublic String getUsage()
getUsage in interface CompileParameterpublic boolean check(Context context) throws ExitException
check in interface CompileParameterExitExceptionpublic void run(Context context) throws ExitException
run in interface CompileParameterExitExceptionpublic String getShortDescription()
getShortDescription in interface CompileParameterpublic String getDetailedDescription()
getDetailedDescription in interface CompileParameterCopyright © 2021. All rights reserved.