org.matomo.java.tracking.spring.TrackerConfigurationBuilderCustomizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of matomo-java-tracker-spring-boot-starter Show documentation
Show all versions of matomo-java-tracker-spring-boot-starter Show documentation
Spring integration of Matomo Java Tracker
The newest version!
/*
* Matomo Java Tracker
*
* @link https://github.com/matomo/matomo-java-tracker
* @license https://github.com/matomo/matomo-java-tracker/blob/master/LICENSE BSD-3 Clause
*/
package org.matomo.java.tracking.spring;
import org.matomo.java.tracking.TrackerConfiguration;
import org.springframework.lang.NonNull;
/**
* Allows to customize the {@link TrackerConfiguration.TrackerConfigurationBuilder} with additional properties.
*
* Implementations of this interface are detected automatically by the {@link MatomoTrackerAutoConfiguration}.
*
* @see MatomoTrackerAutoConfiguration
* @see TrackerConfiguration
* @see TrackerConfiguration.TrackerConfigurationBuilder
*/
@FunctionalInterface
public interface TrackerConfigurationBuilderCustomizer {
/**
* Customize the {@link TrackerConfiguration.TrackerConfigurationBuilder}.
*
* @param builder the {@link TrackerConfiguration.TrackerConfigurationBuilder} instance (never {@code null})
* @see TrackerConfiguration#builder()
* @see MatomoTrackerProperties
*/
void customize(@NonNull TrackerConfiguration.TrackerConfigurationBuilder builder);
}