Package com.adobe.acs.commons.ccvar
Interface PropertyConfigService
public interface PropertyConfigService
Configuration service used to store property exclusions for the
PropertyAggregatorService processes. Contains
helper methods to determine if a property should be added to the properties aggregated based on the property name or
type.-
Method Summary
Modifier and TypeMethodDescriptionTakes the key and determines if there is an action specified in it and checks the action specified against the full configured list of actions present in the system.booleanChecks whether the passed property name should be excluded or not.booleanisAllowedType(Object object) Checks if the property value is of an allowed type.
-
Method Details
-
isAllowed
Checks whether the passed property name should be excluded or not. This check is based on the OSGi configuration for the service.- Parameters:
propertyName- current property name- Returns:
- whether to exclude or not
-
isAllowedType
Checks if the property value is of an allowed type. Currently only supports String and Long values.- Parameters:
object- current property value- Returns:
- whether it is allowed or not
-
getAction
Takes the key and determines if there is an action specified in it and checks the action specified against the full configured list of actions present in the system.- Parameters:
key- The key that may contain an action- Returns:
- The configured action or null
-