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 objectwithArtifactHandlerManager(org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager) 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.eclipse.aether.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
-
withArtifactHandlerManager
public DefaultVersionsHelper.Builder withArtifactHandlerManager(org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager) -
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) -
withRepositorySystem
public DefaultVersionsHelper.Builder withRepositorySystem(org.eclipse.aether.RepositorySystem repositorySystem) -
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
-