public enum PlayMajorVersion extends Enum<PlayMajorVersion>
Enum Constant and Description |
---|
PLAY_2_3_X |
PLAY_2_4_X |
PLAY_2_5_X |
PLAY_2_6_X |
PLAY_2_7_X |
PLAY_2_8_X |
Modifier and Type | Method and Description |
---|---|
static PlayMajorVersion |
forPlatform(PlayPlatform targetPlatform) |
static PlayMajorVersion |
forPlayVersion(String playVersion) |
String |
getDefaultScalaPlatform() |
boolean |
hasSupportForStaticRoutesGenerator() |
void |
validateCompatible(String scalaCompatibilityVersion) |
static PlayMajorVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayMajorVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayMajorVersion PLAY_2_3_X
public static final PlayMajorVersion PLAY_2_4_X
public static final PlayMajorVersion PLAY_2_5_X
public static final PlayMajorVersion PLAY_2_6_X
public static final PlayMajorVersion PLAY_2_7_X
public static final PlayMajorVersion PLAY_2_8_X
public static PlayMajorVersion[] values()
for (PlayMajorVersion c : PlayMajorVersion.values()) System.out.println(c);
public static PlayMajorVersion 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 void validateCompatible(String scalaCompatibilityVersion)
public String getDefaultScalaPlatform()
public static PlayMajorVersion forPlatform(PlayPlatform targetPlatform)
public static PlayMajorVersion forPlayVersion(String playVersion)
public boolean hasSupportForStaticRoutesGenerator()