public class Relocation extends Object implements Serializable, Cloneable, InputLocationTracker
Constructor and Description |
---|
Relocation() |
Modifier and Type | Method and Description |
---|---|
Relocation |
clone()
Method clone.
|
String |
getArtifactId()
Get the new artifact ID of the artifact.
|
String |
getGroupId()
Get the group ID the artifact has moved to.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
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 |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
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.
|
public Relocation clone()
public String getArtifactId()
public String getGroupId()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public String getMessage()
public String getVersion()
public void setArtifactId(String artifactId)
artifactId
- public void setGroupId(String groupId)
groupId
- public void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setMessage(String message)
message
- public void setVersion(String version)
version
- Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.