public class FluentRelocationBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
org.apache.maven.model.Relocation |
build() |
static FluentRelocationBuilder |
newRelocation() |
FluentRelocationBuilder |
withArtifactId(java.lang.String artifactId)
Set the new artifact ID of the artifact.
|
FluentRelocationBuilder |
withGroupId(java.lang.String groupId)
Set the group ID the artifact has moved to.
|
FluentRelocationBuilder |
withLocation(java.lang.Object key,
org.apache.maven.model.InputLocation location) |
FluentRelocationBuilder |
withMessage(java.lang.String message)
Set an additional message to show the user about the move,
such as the reason.
|
FluentRelocationBuilder |
withVersion(java.lang.String version)
Set the new version of the artifact.
|
public static FluentRelocationBuilder newRelocation()
public org.apache.maven.model.Relocation build()
public FluentRelocationBuilder withArtifactId(java.lang.String artifactId)
artifactId - public FluentRelocationBuilder withGroupId(java.lang.String groupId)
groupId - public FluentRelocationBuilder withLocation(java.lang.Object key, org.apache.maven.model.InputLocation location)
key - location - public FluentRelocationBuilder withMessage(java.lang.String message)
message - public FluentRelocationBuilder withVersion(java.lang.String version)
version - Copyright © 2014 Yandex. All Rights Reserved.