public enum ConfigRecommendationStrategy extends Enum<ConfigRecommendationStrategy>
Enum Constant and Description |
---|
ALWAYS_APPLY
Configuration recommendations are always applied, overriding stack defaults and
configuration defined by the user in the Blueprint and/or Cluster Creation Template.
|
ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES
Configuration recommendations are always applied, overriding stack defaults but they don't
override configuration defined by the user in the Blueprint and/or Cluster Creation Template.
|
NEVER_APPLY
Configuration recommendations are ignored with this option, both for stack defaults
and configuration defined by the user in the Blueprint and/or Cluster Creation Template.
|
ONLY_STACK_DEFAULTS_APPLY
Configuration recommendations are always applied for properties listed as stack defaults,
but not for configurations defined by the user in the Blueprint and/or Cluster Creation Template.
|
Modifier and Type | Method and Description |
---|---|
static ConfigRecommendationStrategy |
defaultForAddService() |
boolean |
shouldOverrideCustomValues() |
boolean |
shouldUseStackAdvisor() |
static ConfigRecommendationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigRecommendationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigRecommendationStrategy ALWAYS_APPLY
public static final ConfigRecommendationStrategy NEVER_APPLY
public static final ConfigRecommendationStrategy ONLY_STACK_DEFAULTS_APPLY
public static final ConfigRecommendationStrategy ALWAYS_APPLY_DONT_OVERRIDE_CUSTOM_VALUES
public static ConfigRecommendationStrategy[] values()
for (ConfigRecommendationStrategy c : ConfigRecommendationStrategy.values()) System.out.println(c);
public static ConfigRecommendationStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ConfigRecommendationStrategy defaultForAddService()
public boolean shouldUseStackAdvisor()
public boolean shouldOverrideCustomValues()
Copyright © 2022 Apache Software Foundation. All rights reserved.