public interface Feature
extends org.togglz.core.Feature
Feature
to offer methods to determine whether the feature is enabled or not.Modifier and Type | Method and Description |
---|---|
void |
assertThatEnabled()
Checks if the feature is enabled and throws a
FeatureNotEnabledException if not. |
boolean |
isEnabled()
Returns whether this
Feature is enabled or not. |
boolean isEnabled()
Feature
is enabled or not.void assertThatEnabled() throws FeatureNotEnabledException
FeatureNotEnabledException
if not.FeatureNotEnabledException
- If the feature is not enabled.Copyright © 2019 SAP SE. All rights reserved.