blob: 09e7bd4396f9f982f72fde12e9422ea2b7534ea6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.openecomp.sdc.common.togglz;
import org.togglz.core.Feature;
import org.togglz.core.annotation.Label;
import org.togglz.core.context.FeatureContext;
public enum ToggleableFeature implements Feature {
@Label ("Forwarder Capability")
FORWARDER_CAPABILITY,
@Label ("VLAN Tagging")
VLAN_TAGGING,
@Label ("Annotations")
ANNOTATIONS;
public boolean isActive() {
return FeatureContext.getFeatureManager().isActive(this);
}
}
|