Class Relocation

java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Relocation
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker

@Generated public class Relocation extends BaseObject
See Also:
  • Constructor Details

    • Relocation

      public Relocation()
    • Relocation

      public Relocation(Relocation delegate)
    • Relocation

      public Relocation(Relocation delegate, BaseObject parent)
  • Method Details

    • clone

      public Relocation clone()
      Overrides:
      clone in class Object
    • getDelegate

      public Relocation getDelegate()
      Overrides:
      getDelegate in class BaseObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getGroupId

      public String getGroupId()
    • setGroupId

      public void setGroupId(String groupId)
    • getArtifactId

      public String getArtifactId()
    • setArtifactId

      public void setArtifactId(String artifactId)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getLocation

      public InputLocation getLocation(Object key)
      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 be null.
      Returns:
      The location of the field in the input source or null if unknown.
    • setLocation

      public void setLocation(Object key, InputLocation location)
      Description copied from interface: InputLocationTracker
      Sets the location of the specified field.
      Parameters:
      key - The key of the field, must not be null.
      location - The location of the field, may be null.
    • replace

      protected boolean replace(Object oldDelegate, Object newDelegate)
      Overrides:
      replace in class BaseObject
    • relocationToApiV4

      public static List<Relocation> relocationToApiV4(List<Relocation> list)
    • relocationToApiV3

      public static List<Relocation> relocationToApiV3(List<Relocation> list)