Package org.elasticsearch.env
Class TestEnvironment
- java.lang.Object
-
- org.elasticsearch.env.TestEnvironment
-
public class TestEnvironment extends java.lang.Object
Provides a convenience method for tests to construct an Environment when the config path does not matter. This is in the test framework to force people who construct an Environment in production code to think about what the config path needs to be set to.
-
-
Method Summary
Modifier and Type Method Description static Environment
newEnvironment(Settings settings)
-
-
-
Method Detail
-
newEnvironment
public static Environment newEnvironment(Settings settings)
-
-