Namespace: OpenEdge.Logging.Filter
Type: Class ConfigPropertyFilterBuilder
Parent Classes:
Inherits: OpenEdge.Logging.Filter.LogFilterBuilder


/* *************************************************************************************************************************
Copyright (c) 2019, 2021 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:ConfigPropertyFilterBuilder
Purpose:Auto-sets filter properties from configbuilder values
Author(s):pjudge
Created:2019-07-26
Notes:* Properties must be
- for an instance (not static)
- publicly writable
- character
- character[]: The property must be indeterminate or the extents of the config value
and property must be equal
- decimal
- datetime-tz
- logical
- Progress.Lang.Object: The config type is checked against the property type
/* Constructor



Method Summary
  Options Name Purpose
  OpenEdge.Logging.Filter.ILoggerFilter NewFilter () /* Creates the instance. @return ILoggerFilter A filter instance */
  SetPropValuesFromConfig (ILoggerFilter) /* Sets any publicly writable property values from saved configuration. Only properties of certain data types are set: - character - character[]: The property must be indeterminate or the extents of the config value and property must be equal - decimal - datetime-tz - logical - Progress.Lang.Object: The config type is checked against the property type If property values cannot be set, for any reason, they are simply skipped. @param ILoggerFilter The filter instance on which to set values */

Constructor Summary
  Options Name Purpose
  ConfigPropertyFilterBuilder (character) /* Constructor @param character The type of filter being build. */

Method Detail
Top

OpenEdge.Logging.Filter.ILoggerFilter NewFilter ()

/* Creates the instance.
Returns OpenEdge.Logging.Filter.ILoggerFilter
  ILoggerFilter A filter instance
Top

SetPropValuesFromConfig (ILoggerFilter)

/* Sets any publicly writable property values from saved configuration.
Only properties of certain data types are set:
- character
- character[]: The property must be indeterminate or the extents of the config value and property must be equal
- decimal
- datetime-tz
- logical
- Progress.Lang.Object: The config type is checked against the property type
If property values cannot be set, for any reason, they are simply skipped.
Parameters:
pFilter OpenEdge.Logging.Filter.ILoggerFilter
 


Constructor Detail
Top

ConfigPropertyFilterBuilder (character)

/* Constructor
Parameters:
pcFilterType CHARACTER