public class UsageAnalytics extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_GENERATE_SALT
Specifies the default for the "generateSalt" parameter.
|
static String |
DEFAULT_SKIP
Specifies the default for the "skip" parameter.
|
Constructor and Description |
---|
UsageAnalytics(org.apache.maven.execution.MavenSession mavenSession,
org.apache.maven.plugin.MojoExecution mojoExecution,
Boolean skip,
Boolean generateSalt,
String salt)
Constructor that is invoked by the UsageAnalyticsMojo.
|
public static final String DEFAULT_SKIP
Important: This field must remain stable since it is used by the UsageAnalyticsMojo.
public static final String DEFAULT_GENERATE_SALT
Important: This field must remain stable since it is used by the UsageAnalyticsMojo.
public UsageAnalytics(@Nonnull org.apache.maven.execution.MavenSession mavenSession, @Nonnull org.apache.maven.plugin.MojoExecution mojoExecution, @Nullable Boolean skip, @Nullable Boolean generateSalt, @Nullable String salt)
Important: This constructor must remain stable since it is used by the UsageAnalyticsMojo.
mavenSession
- The current MavenSession.mojoExecution
- The current MojoExecution.skip
- Whether the plugin invocation should be skipped, or not.generateSalt
- Whether a salt should be generated, if missing.salt
- The salt value, if configured.Copyright © 2021 SAP SE. All rights reserved.