Class FeatureRestrictionPolicy
-
- All Implemented Interfaces:
@Serializable() public final class FeatureRestrictionPolicy extends PredefinedPolicy
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringFEATURE_ALL_ENABLEDpublic final static StringRESTRICTED_FEATURESpublic final static StringALLOWED_POLICIESprivate BooleanfeatureVectorPolicyAllEnabledprivate final List<RestrictedFeature>restrictedFeaturesprivate 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 BooleangetFeatureVectorPolicyAllEnabled()final UnitsetFeatureVectorPolicyAllEnabled(@SerialName(value = "featureVectorPolicyAllEnabled") Boolean featureVectorPolicyAllEnabled)final List<RestrictedFeature>getRestrictedFeatures()final List<RestrictedFeature>getAllowedPolicies()final UnitclearRestrictedFeatures()final UnitaddRestrictedFeature(RestrictedFeature feature)StringtoString()StringtoStringWithDefaultValues()final static FeatureRestrictionPolicycreateFromJsonString(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)
-
-
-
-