Class FeatureFlags
- java.lang.Object
-
- com.gooddata.sdk.model.featureflag.FeatureFlags
-
- All Implemented Interfaces:
java.lang.Iterable<FeatureFlag>
@Deprecated public class FeatureFlags extends java.lang.Object implements java.lang.Iterable<FeatureFlag>
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAGGREGATED_FEATURE_FLAGS_URIDeprecated.
-
Constructor Summary
Constructors Constructor Description FeatureFlags()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddFlag(java.lang.String name, boolean enabled)Deprecated.Adds the feature flag of given name and given value.booleanequals(java.lang.Object o)Deprecated.inthashCode()Deprecated.booleanisEnabled(java.lang.String flagName)Deprecated.Returns true if the feature flag with given name exists and is enabled, false otherwise.java.util.Iterator<FeatureFlag>iterator()Deprecated.voidremoveFlag(java.lang.String flagName)Deprecated.Removes flag of given name.java.lang.StringtoString()Deprecated.
-
-
-
Field Detail
-
AGGREGATED_FEATURE_FLAGS_URI
public static final java.lang.String AGGREGATED_FEATURE_FLAGS_URI
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
addFlag
public void addFlag(java.lang.String name, boolean enabled)Deprecated.Adds the feature flag of given name and given value.- Parameters:
name- feature flag nameenabled- feature flag value (enabled / disabled)
-
removeFlag
public void removeFlag(java.lang.String flagName)
Deprecated.Removes flag of given name.- Parameters:
flagName- name of the flag to remove
-
iterator
public java.util.Iterator<FeatureFlag> iterator()
Deprecated.- Specified by:
iteratorin interfacejava.lang.Iterable<FeatureFlag>
-
isEnabled
public boolean isEnabled(java.lang.String flagName)
Deprecated.Returns true if the feature flag with given name exists and is enabled, false otherwise.- Parameters:
flagName- the name of feature flag- Returns:
- true if the feature flag with given name exists and is enabled, false otherwise
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-