org.apache.maven.model
Class Relocation

java.lang.Object
  extended byorg.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

Constructor Summary
Relocation()
           
 
Method Summary
 java.lang.String getArtifactId()
          Get The new artifact ID of the artifact
 java.lang.String getGroupId()
          Get The group 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 getModelEncoding()
           
 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 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 setModelEncoding(java.lang.String modelEncoding)
           
 void setVersion(java.lang.String version)
          Set The new version of the artifact
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Relocation

public Relocation()
Method Detail

getArtifactId

public java.lang.String getArtifactId()
Get The new artifact ID of the artifact


getGroupId

public java.lang.String getGroupId()
Get The group the artifact has moved to


getMessage

public java.lang.String getMessage()
Get An additional message to show the user about the move, such as the reason.


getVersion

public java.lang.String getVersion()
Get The new version of the artifact


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 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 -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright 2006 Apache Software Foundation. All Rights Reserved.