public class Env extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_APP_FOLDER |
Constructor and Description |
---|
Env() |
Env(String appFolder,
boolean prodMode,
boolean disableClassPath,
boolean disableFilesystem,
boolean disableGzip) |
Modifier and Type | Method and Description |
---|---|
String |
appFolder() |
java.nio.file.Path |
appPath() |
static Env |
dev() |
boolean |
disableClassPath() |
boolean |
disableFilesystem() |
boolean |
disableGzip() |
int |
overriddenPort(int port) |
static Env |
prod() |
boolean |
prodMode() |
public static String DEFAULT_APP_FOLDER
public Env()
public Env(String appFolder, boolean prodMode, boolean disableClassPath, boolean disableFilesystem, boolean disableGzip)
public static Env prod()
public static Env dev()
public java.nio.file.Path appPath()
public String appFolder()
public boolean prodMode()
public int overriddenPort(int port)
public boolean disableClassPath()
public boolean disableFilesystem()
public boolean disableGzip()
Copyright © 2015. All Rights Reserved.