Class DefaultBusinessLogicConfig

  • All Implemented Interfaces:

    
    public final class DefaultBusinessLogicConfig
    
                        

    Configuration for the default business logic components.

    • Constructor Detail

      • DefaultBusinessLogicConfig

        DefaultBusinessLogicConfig()
    • Method Detail

      • getBuildParser

         final EventLogBuildParser<?> getBuildParser()

        Parser for extracting build information from event logs. Defaults to DEFAULT_BUILD_PARSER, which supports dot-separated numeric versions. Deviate from the default for non-standard versioning schemes.

      • setBuildParser

         final Unit setBuildParser(EventLogBuildParser<?> value)

        Parser for extracting build information from event logs. Defaults to DEFAULT_BUILD_PARSER, which supports dot-separated numeric versions. Deviate from the default for non-standard versioning schemes.

      • getExcludedFields

         final List<String> getExcludedFields()

        List of field names to exclude from validation. Events containing these fields will have them ignored during the validation process. Defaults to an empty list.

      • setExcludedFields

         final Unit setExcludedFields(List<String> value)

        List of field names to exclude from validation. Events containing these fields will have them ignored during the validation process. Defaults to an empty list.

      • getUtilRulesProducer

         final UtilRuleProducer getUtilRulesProducer()

        Producer for utility validation rules. Used to create validation rules for special fields. Defaults to ValidationSimpleRuleFactory.REJECTING_UTIL_URL_PRODUCER.

      • setUtilRulesProducer

         final Unit setUtilRulesProducer(UtilRuleProducer value)

        Producer for utility validation rules. Used to create validation rules for special fields. Defaults to ValidationSimpleRuleFactory.REJECTING_UTIL_URL_PRODUCER.

      • getSkipAnonymizationIds

         final Set<String> getSkipAnonymizationIds()

        Set of group IDs that should skip anonymization. Events from these groups will not be anonymized even when anonymization is enabled. Defaults to an empty set.

      • setSkipAnonymizationIds

         final Unit setSkipAnonymizationIds(Set<String> value)

        Set of group IDs that should skip anonymization. Events from these groups will not be anonymized even when anonymization is enabled. Defaults to an empty set.

      • getSystemLogGroupId

         final String getSystemLogGroupId()

        The group ID used for system log events (e.g., throttling notifications). Defaults to "system.log".

      • setSystemLogGroupId

         final Unit setSystemLogGroupId(String value)

        The group ID used for system log events (e.g., throttling notifications). Defaults to "system.log".

      • getDispatcherInitialDelay

         final Duration getDispatcherInitialDelay()

        Initial delay before the dispatcher starts processing events after initialization. Defaults to 3 minutes.

      • setDispatcherInitialDelay

         final Unit setDispatcherInitialDelay(Duration value)

        Initial delay before the dispatcher starts processing events after initialization. Defaults to 3 minutes.

      • getEventBufferSize

         final Integer getEventBufferSize()

        Maximum number of events to buffer when metadata is not available. Defaults to 5000.

      • setEventBufferSize

         final Unit setEventBufferSize(Integer value)

        Maximum number of events to buffer when metadata is not available. Defaults to 5000.

      • getEscapeCharsInData

         final Boolean getEscapeCharsInData()

        Whether to escape non-ASCII characters in event data. When true, special characters in the data fields are escaped. Defaults to true.

      • setEscapeCharsInData

         final Unit setEscapeCharsInData(Boolean value)

        Whether to escape non-ASCII characters in event data. When true, special characters in the data fields are escaped. Defaults to true.

      • getUsePersistentQueue

         final Boolean getUsePersistentQueue()

        Whether to use a persistent queue for event storage. When true, events are persisted to disk; when false, an in-memory queue is used. Defaults to true.

      • setUsePersistentQueue

         final Unit setUsePersistentQueue(Boolean value)

        Whether to use a persistent queue for event storage. When true, events are persisted to disk; when false, an in-memory queue is used. Defaults to true.

      • getDispatcherDefaultDelay

         final Duration getDispatcherDefaultDelay()

        Default delay between dispatch attempts when processing the event queue. Defaults to 3 minutes.

      • getMergeIgnoredFields

         final Set<String> getMergeIgnoredFields()

        Event data fields that should be ignored during merging of events.

        This is useful if event data contains additional timestamps etc. that should not prevent events from merging.

      • setMergeIgnoredFields

         final Unit setMergeIgnoredFields(Set<String> value)

        Event data fields that should be ignored during merging of events.

        This is useful if event data contains additional timestamps etc. that should not prevent events from merging.

      • getReportDispatcherExtensions

         final Function1<DispatcherExtensions<LogEvent>, Unit> getReportDispatcherExtensions()

        Extension configuration for the report dispatcher. Allows customizing dispatcher behavior through extension points such as event transformation, filtering, or additional processing. Defaults to no extensions.

      • setReportDispatcherExtensions

         final Unit setReportDispatcherExtensions(Function1<DispatcherExtensions<LogEvent>, Unit> value)

        Extension configuration for the report dispatcher. Allows customizing dispatcher behavior through extension points such as event transformation, filtering, or additional processing. Defaults to no extensions.