Interface NormalizationProvider.Context
- Enclosing interface:
NormalizationProvider
public static interface NormalizationProvider.Context
Allows configuring the normalization of a project.
- Since:
- 1.21
-
Method Summary
Modifier and TypeMethodDescriptionconfigureRuntimeClasspathNormalization
(Consumer<NormalizationProvider.RuntimeClasspathNormalization> action) Allows configuring the runtime classpath normalization.configureSystemPropertiesNormalization
(Consumer<NormalizationProvider.SystemPropertiesNormalization> action) Allows configuring the system property normalization.The project being configured.The session associated with the project.
-
Method Details
-
getProject
MavenProject getProject()The project being configured. -
getSession
MavenSession getSession()The session associated with the project. -
configureRuntimeClasspathNormalization
NormalizationProvider.Context configureRuntimeClasspathNormalization(Consumer<NormalizationProvider.RuntimeClasspathNormalization> action) Allows configuring the runtime classpath normalization.- Parameters:
action
- an action to configure the runtime classpath normalization
-
configureSystemPropertiesNormalization
NormalizationProvider.Context configureSystemPropertiesNormalization(Consumer<NormalizationProvider.SystemPropertiesNormalization> action) Allows configuring the system property normalization.- Parameters:
action
- an action to configure the system property normalization
-