public class Esi4JUtils extends Object
| Constructor and Description |
|---|
Esi4JUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
createObject(Class<T> cls,
Object arg,
org.elasticsearch.common.settings.Settings settings)
tries to construct an object of given class by either invoking a
constructor that takes object and
Settings as arguments object
only. |
static <T> T |
createObject(Class<T> cls,
org.elasticsearch.common.settings.Settings settings)
tries to construct an object of given class by either invoking a
constructor that takes
Settings as sole argument or the default
constructor. |
static org.elasticsearch.common.settings.Settings |
getSettings(org.elasticsearch.common.settings.Settings settings,
String oldPrefix,
String newPrefix) |
public static <T> T createObject(Class<T> cls, @Nullable org.elasticsearch.common.settings.Settings settings)
Settings as sole argument or the default
constructor.public static <T> T createObject(Class<T> cls, Object arg, @Nullable org.elasticsearch.common.settings.Settings settings)
Settings as arguments object
only.Copyright © 2013 Molindo GmbH. All Rights Reserved.