public class Env extends Object implements Serializable
Constructor and Description |
---|
Env() |
Modifier and Type | Method and Description |
---|---|
String |
appFolder() |
boolean |
classPath() |
static Env |
dev() |
boolean |
diskCache() |
boolean |
filesystem() |
List<java.nio.file.Path> |
foldersToWatch() |
MasterFolderWatch |
folderWatcher() |
boolean |
gzip() |
boolean |
injectLiveReloadScript() |
boolean |
liveReloadServer() |
int |
overriddenPort(int port) |
static Env |
prod() |
boolean |
prodMode() |
Env |
withClassPath(boolean shouldScanCassPath) |
Env |
withDiskCache(boolean shouldUseDiskCache) |
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 Env withDiskCache(boolean shouldUseDiskCache)
public MasterFolderWatch folderWatcher()
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()
public boolean diskCache()
Copyright © 2015. All Rights Reserved.