Class PropertyUtil


  • public final class PropertyUtil
    extends Object
    • Method Detail

      • 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 map
        key - Primary key
        additionalKeys - Alternative keys
        Returns:
        Value