summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-common-lib/src/main/java/org/openecomp/sdc/common/togglz/ToggleableFeature.java
blob: aab984557344ae162989ea3ab7de315a6609e4d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;

  public boolean isActive() {
    return FeatureContext.getFeatureManager().isActive(this);
  }
}