|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.model.Relocation
public class Relocation
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.
| Constructor Summary | |
|---|---|
Relocation()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Relocation()
| Method Detail |
|---|
public Relocation clone()
clone in class Objectpublic String getArtifactId()
public String getGroupId()
public InputLocation getLocation(Object key)
InputLocationTracker
getLocation in interface InputLocationTrackerkey -
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 InputLocationTrackerkey - location - public void setMessage(String message)
message - public void setVersion(String version)
version -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||