Package org.apache.maven.model
Class Relocation
- java.lang.Object
-
- org.apache.maven.model.Relocation
-
- All Implemented Interfaces:
java.io.Serializable
public class Relocation extends java.lang.Object implements java.io.Serializable
Describes where an artifact has moved to. If any of the values are omitted, it is assumed to be the same as it was before.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
artifactId
The new artifact ID of the artifact.private java.lang.String
groupId
The group ID the artifact has moved to.private java.lang.String
message
An additional message to show the user about the move, such as the reason.private java.lang.String
version
The new version of the artifact.
-
Constructor Summary
Constructors Constructor Description Relocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getArtifactId()
Get the new artifact ID of the artifact.java.lang.String
getGroupId()
Get the group ID the artifact has moved to.java.lang.String
getMessage()
Get an additional message to show the user about the move, such as the reason.java.lang.String
getVersion()
Get the new version of the artifact.void
setArtifactId(java.lang.String artifactId)
Set the new artifact ID of the artifact.void
setGroupId(java.lang.String groupId)
Set the group ID the artifact has moved to.void
setMessage(java.lang.String message)
Set an additional message to show the user about the move, such as the reason.void
setVersion(java.lang.String version)
Set the new version of the artifact.
-
-
-
Field Detail
-
groupId
private java.lang.String groupId
The group ID the artifact has moved to.
-
artifactId
private java.lang.String artifactId
The new artifact ID of the artifact.
-
version
private java.lang.String version
The new version of the artifact.
-
message
private java.lang.String message
An additional message to show the user about the move, such as the reason.
-
-
Method Detail
-
getArtifactId
public java.lang.String getArtifactId()
Get the new artifact ID of the artifact.- Returns:
- String
-
getGroupId
public java.lang.String getGroupId()
Get the group ID the artifact has moved to.- Returns:
- String
-
getMessage
public java.lang.String getMessage()
Get an additional message to show the user about the move, such as the reason.- Returns:
- String
-
getVersion
public java.lang.String getVersion()
Get the new version of the artifact.- Returns:
- String
-
setArtifactId
public void setArtifactId(java.lang.String artifactId)
Set the new artifact ID of the artifact.- Parameters:
artifactId
-
-
setGroupId
public void setGroupId(java.lang.String groupId)
Set the group ID the artifact has moved to.- Parameters:
groupId
-
-
setMessage
public void setMessage(java.lang.String message)
Set an additional message to show the user about the move, such as the reason.- Parameters:
message
-
-
setVersion
public void setVersion(java.lang.String version)
Set the new version of the artifact.- Parameters:
version
-
-
-