public interface FeatureFlagsProvider
Modifier and Type | Method and Description |
---|---|
default boolean |
isFeatureEnabled(String name)
This method tells is feature flag is currently enabled.
|
default boolean isFeatureEnabled(String name)
io.cdap.cdap.features.Feature
enum and use io.cdap.cdap.features.Feature#isEnabled
method instead of directly calling this oneNullPointerException
- if feature flag name is not definedIllegalArgumentException
- if the feature flag is not a valid boolean
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.