public enum ApiGatewayFeature extends Enum<ApiGatewayFeature> implements Feature
| Enum Constant and Description |
|---|
KEEP_DEFAULT_POLICY_FORMAT |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Description of the feature.
|
String |
getEnabledByDefaultSince()
A comma-separated list of versions (must include all the different minors) since this feature will be enabled by default.
|
String |
getIssueId()
The issue that caused this feature addition.
|
Optional<String> |
getOverridingSystemPropertyName()
System Property name to be used to decide whether the feature has to be enabled or disabled for the whole Runtime instance,
without considering any other condition.
|
static ApiGatewayFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiGatewayFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiGatewayFeature KEEP_DEFAULT_POLICY_FORMAT
public static ApiGatewayFeature[] values()
for (ApiGatewayFeature c : ApiGatewayFeature.values()) System.out.println(c);
public static ApiGatewayFeature 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 String getDescription()
FeaturegetDescription in interface Featurepublic String getIssueId()
FeatureMULE-1234.getIssueId in interface Featurepublic String getEnabledByDefaultSince()
FeatureFeature
enabled by default.getEnabledByDefaultSince in interface Feature"4.4.0, 4.3.0-202103".public Optional<String> getOverridingSystemPropertyName()
FeatureSystem Property name to be used to decide whether the feature has to be enabled or disabled for the whole Runtime instance, without considering any other condition. The feature will be enabled according to the value provided, by parsing it as a boolean.
For instance if Feature.getOverridingSystemPropertyName():
In other words:
Feature.getOverridingSystemPropertyName() is set to some.meaningful.name
System.getProperty("some.meaningful.name">) is not null),
then the feature will be enabled only when Boolean.getBoolean("some.meaningful.name") returns
trueSystem.getProperty("some.meaningful.name">) is null),
then the feature flagging configuration will be applied to decide whether the feature is enabled or disabled.Feature.getOverridingSystemPropertyName() is not set, then the feature flagging configuration will be applied to
decide whether the feature is enabled or disabled.getOverridingSystemPropertyName in interface FeatureOptional.empty() if it cannot be configured by
system property.Copyright © 2014–2024 MuleSoft, Inc.. All rights reserved.