Class FeatureRestrictionPolicy
-
- All Implemented Interfaces:
@Serializable() public final class FeatureRestrictionPolicy extends PredefinedPolicy
-
-
Field Summary
Fields Modifier and Type Field Description public final static String
FEATURE_ALL_ENABLED
public final static String
RESTRICTED_FEATURES
public final static String
ALLOWED_POLICIES
private Boolean
featureVectorPolicyAllEnabled
private final List<RestrictedFeature>
restrictedFeatures
private final List<RestrictedFeature>
allowedPolicies
-
Constructor Summary
Constructors Constructor Description FeatureRestrictionPolicy(Boolean featureVectorPolicyAllEnabled, List<RestrictedFeature> restrictedFeatures, List<RestrictedFeature> allowedPolicies)
-
Method Summary
Modifier and Type Method Description final Boolean
getFeatureVectorPolicyAllEnabled()
final Unit
setFeatureVectorPolicyAllEnabled(@SerialName(value = "featureVectorPolicyAllEnabled") Boolean featureVectorPolicyAllEnabled)
final List<RestrictedFeature>
getRestrictedFeatures()
final List<RestrictedFeature>
getAllowedPolicies()
final Unit
clearRestrictedFeatures()
final Unit
addRestrictedFeature(RestrictedFeature feature)
String
toString()
String
toStringWithDefaultValues()
final static FeatureRestrictionPolicy
createFromJsonString(String jsonString)
-
Methods inherited from class com.sap.cloud.mobile.foundation.settings.policies.PredefinedPolicy
getKeyPath
-
Methods inherited from class com.sap.cloud.mobile.foundation.settings.policies.AbstractSettingsEntity
toJsonString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FeatureRestrictionPolicy
FeatureRestrictionPolicy(Boolean featureVectorPolicyAllEnabled, List<RestrictedFeature> restrictedFeatures, List<RestrictedFeature> allowedPolicies)
-
-
Method Detail
-
getFeatureVectorPolicyAllEnabled
final Boolean getFeatureVectorPolicyAllEnabled()
-
setFeatureVectorPolicyAllEnabled
final Unit setFeatureVectorPolicyAllEnabled(@SerialName(value = "featureVectorPolicyAllEnabled") Boolean featureVectorPolicyAllEnabled)
-
getRestrictedFeatures
final List<RestrictedFeature> getRestrictedFeatures()
-
getAllowedPolicies
final List<RestrictedFeature> getAllowedPolicies()
-
clearRestrictedFeatures
final Unit clearRestrictedFeatures()
-
addRestrictedFeature
final Unit addRestrictedFeature(RestrictedFeature feature)
-
toString
String toString()
-
toStringWithDefaultValues
String toStringWithDefaultValues()
-
createFromJsonString
final static FeatureRestrictionPolicy createFromJsonString(String jsonString)
-
-
-
-