Package org.codehaus.mojo.versions.api
Class DefaultVersionsHelper.Builder
java.lang.Object
org.codehaus.mojo.versions.api.DefaultVersionsHelper.Builder
- Enclosing class:
- DefaultVersionsHelper
Builder class for DefaultVersionsHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the constructed DefaultVersionsHelper objectwithAetherRepositorySystem(org.eclipse.aether.RepositorySystem aetherRepositorySystem) withIgnoredVersions(Collection<String> ignoredVersions) withLog(org.apache.maven.plugin.logging.Log log) withMavenSession(org.apache.maven.execution.MavenSession mavenSession) withMojoExecution(org.apache.maven.plugin.MojoExecution mojoExecution) withRepositorySystem(org.apache.maven.repository.RepositorySystem repositorySystem) withRuleSet(RuleSet ruleSet) withRulesUri(String rulesUri) withServerId(String serverId) withWagonMap(Map<String, org.apache.maven.wagon.Wagon> wagonMap)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
protocol
-
withRepositorySystem
public DefaultVersionsHelper.Builder withRepositorySystem(org.apache.maven.repository.RepositorySystem repositorySystem) -
withIgnoredVersions
-
withRuleSet
-
withServerId
-
withRulesUri
-
withLog
-
withMavenSession
public DefaultVersionsHelper.Builder withMavenSession(org.apache.maven.execution.MavenSession mavenSession) -
withMojoExecution
public DefaultVersionsHelper.Builder withMojoExecution(org.apache.maven.plugin.MojoExecution mojoExecution) -
withAetherRepositorySystem
public DefaultVersionsHelper.Builder withAetherRepositorySystem(org.eclipse.aether.RepositorySystem aetherRepositorySystem) -
withWagonMap
public DefaultVersionsHelper.Builder withWagonMap(Map<String, org.apache.maven.wagon.Wagon> wagonMap) -
build
Builds the constructed DefaultVersionsHelper object- Returns:
- constructed DefaultVersionsHelper
- Throws:
org.apache.maven.plugin.MojoExecutionException- should the constructor with the RuleSet retrieval doesn't succeed
-