public abstract class AbstractComponent extends Object
| Modifier and Type | Field and Description |
|---|---|
protected DeprecationLogger |
deprecationLogger |
protected ESLogger |
logger |
protected Settings |
settings |
| Constructor and Description |
|---|
AbstractComponent(Settings settings) |
AbstractComponent(Settings settings,
Class customClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
logDeprecatedSetting(String settingName,
String alternativeName)
Checks for a deprecated setting and logs the correct alternative
|
protected void |
logRemovedSetting(String settingName,
String alternativeName)
Checks for a removed setting and logs the correct alternative
|
String |
nodeName()
Returns the nodes name from the settings or the empty string if not set.
|
protected final ESLogger logger
protected final DeprecationLogger deprecationLogger
protected final Settings settings
public AbstractComponent(Settings settings)
Copyright © 2009–2017. All rights reserved.