public class Environment extends Object
Constructor and Description |
---|
Environment() |
Environment(Settings settings) |
Modifier and Type | Method and Description |
---|---|
File |
configFile()
The config location.
|
File[] |
dataFiles()
The data location.
|
File[] |
dataWithClusterFiles()
The data location with the cluster name as a sub directory.
|
File |
homeFile()
The home of the installation.
|
File |
logsFile() |
File |
pluginsFile() |
URL |
resolveConfig(String path) |
String |
resolveConfigAndLoadToString(String path) |
Settings |
settings()
The settings used to build this environment.
|
File |
workFile()
The work location, path to temp files.
|
File |
workWithClusterFile()
The work location with the cluster name as a sub directory.
|
public Environment()
public Environment(Settings settings)
public Settings settings()
public File homeFile()
public File workFile()
public File workWithClusterFile()
public File[] dataFiles()
public File[] dataWithClusterFiles()
public File configFile()
public File pluginsFile()
public File logsFile()
public String resolveConfigAndLoadToString(String path) throws FailedToResolveConfigException, IOException
public URL resolveConfig(String path) throws FailedToResolveConfigException
FailedToResolveConfigException
Copyright © 2009–2015. All rights reserved.