public class ProjectFeatureFlags extends Object implements Iterable<ProjectFeatureFlag>
| Modifier and Type | Field and Description |
|---|---|
static org.springframework.web.util.UriTemplate |
PROJECT_FEATURE_FLAGS_TEMPLATE |
static String |
PROJECT_FEATURE_FLAGS_URI |
| Modifier and Type | Method and Description |
|---|---|
List<ProjectFeatureFlag> |
getItems()
Deprecated.
use
isEnabled(String) method or Iterable feature of this class |
boolean |
isEnabled(String flagName)
Returns true if the project feature flag with given name exists and is enabled, false otherwise.
|
Iterator<ProjectFeatureFlag> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic static final String PROJECT_FEATURE_FLAGS_URI
public static final org.springframework.web.util.UriTemplate PROJECT_FEATURE_FLAGS_TEMPLATE
public Iterator<ProjectFeatureFlag> iterator()
iterator in interface Iterable<ProjectFeatureFlag>public boolean isEnabled(String flagName)
flagName - the name of project feature flag@Deprecated public List<ProjectFeatureFlag> getItems()
isEnabled(String) method or Iterable feature of this classCopyright © 2016. All Rights Reserved.