public static enum Version.Main extends Enum<Version.Main> implements IFeatureAwareVersion
| Enum Constant and Description |
|---|
DEVELOPMENT |
PRODUCTION |
V1_8
Deprecated.
|
V2_0
Deprecated.
|
V2_1
Deprecated.
|
V2_2
last production release
|
V2_3
Deprecated.
|
V2_4
current production release
|
V2_5
development release
|
| Modifier and Type | Method and Description |
|---|---|
String |
asInDownloadPath() |
boolean |
enabled(Feature feature) |
static Version.Main |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Version.Main[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final Version.Main V1_8
@Deprecated public static final Version.Main V2_0
@Deprecated public static final Version.Main V2_1
public static final Version.Main V2_2
@Deprecated public static final Version.Main V2_3
public static final Version.Main V2_4
public static final Version.Main V2_5
public static final Version.Main PRODUCTION
public static final Version.Main DEVELOPMENT
public static Version.Main[] values()
for (Version.Main c : Version.Main.values()) System.out.println(c);
public static Version.Main 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 asInDownloadPath()
asInDownloadPath in interface de.flapdoodle.embed.process.distribution.IVersionpublic boolean enabled(Feature feature)
enabled in interface IFeatureAwareVersionCopyright © 2013. All Rights Reserved.