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 |
setOtherLocation(Object key,
InputLocation location) |
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 void setLocation(Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setOtherLocation(Object key, InputLocation location)
key
- location
- public String getVersion()
public void setArtifactId(String artifactId)
artifactId
- public void setGroupId(String groupId)
groupId
- public void setMessage(String message)
message
- public void setVersion(String version)
version
- Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.