public class InternalSettingsPreparer extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
IGNORE_SYSTEM_PROPERTIES_SETTING |
static String |
SECRET_PROMPT_VALUE |
static String |
TEXT_PROMPT_VALUE |
| コンストラクタと説明 |
|---|
InternalSettingsPreparer() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static Environment |
prepareEnvironment(Settings input,
Terminal terminal)
Prepares the settings by gathering all elasticsearch system properties, optionally loading the configuration settings,
and then replacing all property placeholders.
|
static Settings |
prepareSettings(Settings input)
Prepares the settings by gathering all elasticsearch system properties and setting defaults.
|
public static Settings prepareSettings(Settings input)
public static Environment prepareEnvironment(Settings input, Terminal terminal)
Terminal is provided and configuration settings are loaded,
settings with a value of ${prompt.text} or ${prompt.secret} will result in a prompt for
the setting to the user.input - The custom settings to use. These are not overwritten by settings in the configuration file.terminal - the Terminal to use for input/outputSettings and Environment as a TupleCopyright © 2009–2016. All rights reserved.