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 |
|---|---|
boolean |
isEnabled(String flagName)
Returns true if the project feature flag with given name exists and is enabled, false otherwise.
|
Iterator<ProjectFeatureFlag> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 flagCopyright © 2019. All rights reserved.