Class Extension

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

    public class Extension
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
    Describes a build extension to utilise.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Extension()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Extension clone()
      Method clone.
      boolean equals​(java.lang.Object o)  
      java.lang.String getArtifactId()
      Get the artifact ID of the extension.
      java.lang.String getGroupId()
      Get the group ID of the extension's artifact.
      InputLocation getLocation​(java.lang.Object key)
      Gets the location of the specified field in the input source.
      java.lang.String getVersion()
      Get the version of the extension.
      int hashCode()  
      void setArtifactId​(java.lang.String artifactId)
      Set the artifact ID of the extension.
      void setGroupId​(java.lang.String groupId)
      Set the group ID of the extension's artifact.
      void setLocation​(java.lang.Object key, InputLocation location)
      Sets the location of the specified field.
      void setVersion​(java.lang.String version)
      Set the version of the extension.
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Extension

        public Extension()
    • Method Detail

      • clone

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

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

        public java.lang.String getGroupId()
        Get the group ID of the extension's artifact.
        Returns:
        String
      • getVersion

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

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

        public void setGroupId​(java.lang.String groupId)
        Set the group ID of the extension's artifact.
        Parameters:
        groupId -
      • setVersion

        public void setVersion​(java.lang.String version)
        Set the version of the extension.
        Parameters:
        version -
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()