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 Type
    Method
    Description
    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.
    boolean
    isAllowed(String propertyName)
    Checks whether the passed property name should be excluded or not.
    boolean
    Checks if the property value is of an allowed type.
  • Method Details

    • isAllowed

      boolean isAllowed(String propertyName)
      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

      boolean isAllowedType(Object object)
      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

      TransformAction getAction(String key)
      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