Class Relocation

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, InputLocationTracker

    public class Relocation
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
    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.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Relocation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Relocation clone()
      Method clone.
      java.lang.String getArtifactId()
      Get the new artifact ID of the artifact.
      java.lang.String getGroupId()
      Get the group ID the artifact has moved to.
      InputLocation getLocation​(java.lang.Object key)
      Gets the location of the specified field in the input source.
      java.lang.String getMessage()
      Get an additional message to show the user about the move, such as the reason.
      java.lang.String getVersion()
      Get the new version of the artifact.
      void setArtifactId​(java.lang.String artifactId)
      Set the new artifact ID of the artifact.
      void setGroupId​(java.lang.String groupId)
      Set the group ID the artifact has moved to.
      void setLocation​(java.lang.Object key, InputLocation location)
      Sets the location of the specified field.
      void setMessage​(java.lang.String message)
      Set an additional message to show the user about the move, such as the reason.
      void setOtherLocation​(java.lang.Object key, InputLocation location)  
      void setVersion​(java.lang.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

      • Relocation

        public Relocation()
    • Method Detail

      • clone

        public Relocation clone()
        Method clone.
        Overrides:
        clone in class java.lang.Object
        Returns:
        Relocation
      • getArtifactId

        public java.lang.String getArtifactId()
        Get the new artifact ID of the artifact.
        Returns:
        String
      • getGroupId

        public java.lang.String getGroupId()
        Get the group ID the artifact has moved to.
        Returns:
        String
      • getMessage

        public java.lang.String getMessage()
        Get an additional message to show the user about the move, such as the reason.
        Returns:
        String
      • setOtherLocation

        public void setOtherLocation​(java.lang.Object key,
                                     InputLocation location)
        Parameters:
        key - a key object.
        location - a location object.
      • getVersion

        public java.lang.String getVersion()
        Get the new version of the artifact.
        Returns:
        String
      • setArtifactId

        public void setArtifactId​(java.lang.String artifactId)
        Set the new artifact ID of the artifact.
        Parameters:
        artifactId - a artifactId object.
      • setGroupId

        public void setGroupId​(java.lang.String groupId)
        Set the group ID the artifact has moved to.
        Parameters:
        groupId - a groupId object.
      • setMessage

        public void setMessage​(java.lang.String message)
        Set an additional message to show the user about the move, such as the reason.
        Parameters:
        message - a message object.
      • setVersion

        public void setVersion​(java.lang.String version)
        Set the new version of the artifact.
        Parameters:
        version - a version object.