public interface Feature
| 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.
|
String getDescription()
String getIssueId()
MULE-1234.String getEnabledByDefaultSince()
Feature
enabled by default."4.4.0, 4.3.0-202103".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. The feature will be enabled according to the value provided, by parsing it as a boolean.
For instance if getOverridingSystemPropertyName():
In other words:
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.getOverridingSystemPropertyName() is not set, then the feature flagging configuration will be applied to
decide whether the feature is enabled or disabled.Optional.empty() if it cannot be configured by
system property.Copyright © 2014–2024 MuleSoft, Inc.. All rights reserved.