5080e00ea3971e9e6f2848f464f4c9db93224046
[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 ("VLAN Tagging")
10   VLAN_TAGGING,
11
12   @Label ("Annotations")
13   ANNOTATIONS,
14
15   @Label("Archive Item")
16   ARCHIVE_ITEM,
17
18   @Label("Filter")
19   FILTER;
20
21   public boolean isActive() {
22     return FeatureContext.getFeatureManager().isActive(this);
23   }
24 }