public final class DestructiveOperations extends Object implements NodeSettingsService.Listener
Modifier and Type | Field and Description |
---|---|
static String |
REQUIRES_NAME
Setting which controls whether wildcard usage (*, prefix*, _all) is allowed.
|
Constructor and Description |
---|
DestructiveOperations(ESLogger logger,
Settings settings,
NodeSettingsService nodeSettingsService) |
Modifier and Type | Method and Description |
---|---|
void |
failDestructive(String[] aliasesOrIndices)
Fail if there is wildcard usage in indices and the named is required for destructive operations.
|
void |
onRefreshSettings(Settings settings) |
public static final String REQUIRES_NAME
public DestructiveOperations(ESLogger logger, Settings settings, NodeSettingsService nodeSettingsService)
public void failDestructive(String[] aliasesOrIndices)
public void onRefreshSettings(Settings settings)
onRefreshSettings
in interface NodeSettingsService.Listener
Copyright © 2009–2015. All rights reserved.