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