Package org.apache.maven.model
Class Relocation
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Relocation
- All Implemented Interfaces:
Serializable
,Cloneable
,InputLocationTracker
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking
-
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate
-
Constructor Summary
ConstructorsConstructorDescriptionRelocation
(Relocation delegate) Relocation
(Relocation delegate, BaseObject parent) -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getLocation
(Object key) Gets the ___location of the specified field in the input source.int
hashCode()
static List
<Relocation> relocationToApiV3
(List<Relocation> list) static List
<Relocation> relocationToApiV4
(List<Relocation> list) protected boolean
void
setArtifactId
(String artifactId) void
setGroupId
(String groupId) void
setImportedFrom
(InputLocation ___location) void
setLocation
(Object key, InputLocation ___location) Sets the ___location of the specified field.void
setMessage
(String message) void
setVersion
(String version) Methods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
Relocation
public Relocation() -
Relocation
-
Relocation
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegate
in classBaseObject
-
equals
-
hashCode
public int hashCode() -
getGroupId
-
setGroupId
-
getArtifactId
-
setArtifactId
-
getVersion
-
setVersion
-
getMessage
-
setMessage
-
getLocation
Description copied from interface:InputLocationTracker
Gets the ___location of the specified field in the input source.- Parameters:
key
- The key of the field, must not benull
.- Returns:
- The ___location of the field in the input source or
null
if unknown.
-
setLocation
Description copied from interface:InputLocationTracker
Sets the ___location of the specified field.- Parameters:
key
- The key of the field, must not benull
.___location
- The ___location of the field, may benull
.
-
getImportedFrom
-
setImportedFrom
-
getLocationKeys
-
replace
- Overrides:
replace
in classBaseObject
-
relocationToApiV4
-
relocationToApiV3
-