Class PropertyUtil
java.lang.Object
org.apache.sling.caconfig.resource.impl.util.PropertyUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleangetBooleanValueAdditionalKeys(org.apache.sling.api.resource.ValueMap valueMap, String key, String[] additionalKeys) Get boolean value from value map with key, or with alternative keys if not set.
-
Method Details
-
getBooleanValueAdditionalKeys
public static boolean getBooleanValueAdditionalKeys(org.apache.sling.api.resource.ValueMap valueMap, String key, String[] additionalKeys) Get boolean value from value map with key, or with alternative keys if not set.- Parameters:
valueMap- Value mapkey- Primary keyadditionalKeys- Alternative keys- Returns:
- Value
-