public class Env extends Object
Constructor and Description |
---|
Env() |
Modifier and Type | Method and Description |
---|---|
String |
appFolder() |
boolean |
classPath() |
static Env |
dev() |
boolean |
filesystem() |
List<java.nio.file.Path> |
foldersToWatch() |
boolean |
gzip() |
boolean |
injectLiveReloadScript() |
boolean |
liveReloadServer() |
int |
overriddenPort(int port) |
static Env |
prod() |
boolean |
prodMode() |
Env |
withClassPath(boolean shouldScanCassPath) |
Env |
withFilesystem(boolean shouldScanFilesystem) |
Env |
withGzip(boolean shouldGzipResponse) |
Env |
withInjectLiveReloadScript(boolean shouldInjectLiveReloadScript) |
Env |
withLiveReloadServer(boolean shouldStartLiveReloadServer) |
Env |
withProdMode(boolean newProdMode) |
Env |
withWorkingDir(File newWorkingDir) |
File |
workingDir() |
public static Env prod()
public static Env dev()
public Env withProdMode(boolean newProdMode)
public Env withClassPath(boolean shouldScanCassPath)
public Env withFilesystem(boolean shouldScanFilesystem)
public Env withGzip(boolean shouldGzipResponse)
public Env withLiveReloadServer(boolean shouldStartLiveReloadServer)
public Env withInjectLiveReloadScript(boolean shouldInjectLiveReloadScript)
public File workingDir()
public String appFolder()
public List<java.nio.file.Path> foldersToWatch()
public boolean prodMode()
public int overriddenPort(int port)
public boolean classPath()
public boolean filesystem()
public boolean gzip()
public boolean liveReloadServer()
public boolean injectLiveReloadScript()
Copyright © 2015. All Rights Reserved.