Class LegacyBusinessLogicConfig

  • All Implemented Interfaces:

    
    public final class LegacyBusinessLogicConfig
    
                        

    Configuration for the legacy business logic components (lion3 format).

    • Constructor Detail

      • LegacyBusinessLogicConfig

        LegacyBusinessLogicConfig()
    • Method Detail

      • 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.

      • getDevice

         final String getDevice()

        The device identifier included in the report. This is a required field and must be set.

      • setDevice

         final Unit setDevice(String value)

        The device identifier included in the report. This is a required field and must be set.

      • getInternal

         final Boolean getInternal()

        Whether this is an internal build. When true, the report is marked as coming from an internal build. Defaults to false.

      • setInternal

         final Unit setInternal(Boolean value)

        Whether this is an internal build. When true, the report is marked as coming from an internal build. Defaults to false.

      • 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.

      • 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.