|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.env.Environment
public class Environment
The environment of where things exists.
Constructor Summary | |
---|---|
Environment()
|
|
Environment(Settings settings)
|
Method Summary | |
---|---|
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. |
File |
workWithClusterFile()
The work location with the cluster name as a sub directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Environment()
public Environment(Settings settings)
Method Detail |
---|
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
FailedToResolveConfigException
IOException
public URL resolveConfig(String path) throws FailedToResolveConfigException
FailedToResolveConfigException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |