org.apache.maven.model
Class Relocation

java.lang.Object
  extended by org.apache.maven.model.Relocation
All Implemented Interfaces:
Serializable

public class Relocation
extends Object
implements 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
 String getArtifactId()
          Get the new artifact ID of the artifact.
 String getGroupId()
          Get the group ID the artifact has moved to.
 String getMessage()
          Get an additional message to show the user about the move, such as the reason.
 String getVersion()
          Get the new version of the artifact.
 void setArtifactId(String artifactId)
          Set the new artifact ID of the artifact.
 void setGroupId(String groupId)
          Set the group ID the artifact has moved to.
 void setMessage(String message)
          Set an additional message to show the user about the move, such as the reason.
 void setVersion(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 String getArtifactId()
Get the new artifact ID of the artifact.

Returns:
String

getGroupId

public String getGroupId()
Get the group ID the artifact has moved to.

Returns:
String

getMessage

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

Returns:
String

getVersion

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

Returns:
String

setArtifactId

public void setArtifactId(String artifactId)
Set the new artifact ID of the artifact.

Parameters:
artifactId -

setGroupId

public void setGroupId(String groupId)
Set the group ID the artifact has moved to.

Parameters:
groupId -

setMessage

public void setMessage(String message)
Set an additional message to show the user about the move, such as the reason.

Parameters:
message -

setVersion

public void setVersion(String version)
Set the new version of the artifact.

Parameters:
version -


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.