public class Play
extends java.lang.Object
Constructor and Description |
---|
Play() |
Modifier and Type | Method and Description |
---|---|
static Application |
application()
Returns the currently running application.
|
static boolean |
isDev()
Returns `true` if the current application is `DEV` mode.
|
static boolean |
isProd()
Returns `true` if the current application is `PROD` mode.
|
static boolean |
isTest()
Returns `true` if the current application is `TEST` mode.
|
public static Application application()
public static boolean isDev()
public static boolean isProd()
public static boolean isTest()