Class ProjectFeatureFlags
- java.lang.Object
-
- com.gooddata.sdk.model.featureflag.ProjectFeatureFlags
-
- All Implemented Interfaces:
java.lang.Iterable<ProjectFeatureFlag>
public class ProjectFeatureFlags extends java.lang.Object implements java.lang.Iterable<ProjectFeatureFlag>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROJECT_FEATURE_FLAGS_URI
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEnabled(java.lang.String flagName)Returns true if the project feature flag with given name exists and is enabled, false otherwise.java.util.Iterator<ProjectFeatureFlag>iterator()java.lang.StringtoString()
-
-
-
Field Detail
-
PROJECT_FEATURE_FLAGS_URI
public static final java.lang.String PROJECT_FEATURE_FLAGS_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
iterator
public java.util.Iterator<ProjectFeatureFlag> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<ProjectFeatureFlag>
-
isEnabled
public boolean isEnabled(java.lang.String flagName)
Returns true if the project feature flag with given name exists and is enabled, false otherwise.- Parameters:
flagName- the name of project feature flag- Returns:
- true if the project feature flag with given name exists and is enabled, false otherwise
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-