public enum Launchers extends Enum<Launchers>
Enum Constant and Description |
---|
CODE_GENERATOR |
DATABASE_BUILDER |
HELP |
PROJECT_INITIALIZER |
Modifier and Type | Method and Description |
---|---|
static Launchers |
byCommand(String value) |
Class<?> |
getLauncherClass() |
Class<? extends ArgumentsPrompter> |
getPrompterClass() |
static Launchers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Launchers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Launchers HELP
public static final Launchers PROJECT_INITIALIZER
public static final Launchers CODE_GENERATOR
public static final Launchers DATABASE_BUILDER
public static Launchers[] values()
for (Launchers c : Launchers.values()) System.out.println(c);
public static Launchers 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 Class<?> getLauncherClass()
public Class<? extends ArgumentsPrompter> getPrompterClass()
Copyright © 2017. All rights reserved.