Class Artifact

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

    public class Artifact
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    Identifier of Maven artifact.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String artifactId
      Artifact ID of the artifact.
      private java.lang.String classifier
      Classifier of the artifact.
      private java.lang.String extension
      Extension of the artifact.
      private java.lang.String groupId
      Group ID of the artifact.
      private java.lang.String stereotype
      Maven stereotype of the artifact.
      private java.lang.String version
      Version of the artifact.
    • Constructor Summary

      Constructors 
      Constructor Description
      Artifact()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Artifact clone()
      Method clone.
      java.lang.String getArtifactId()
      Get artifact ID of the artifact.
      java.lang.String getClassifier()
      Get classifier of the artifact.
      java.lang.String getExtension()
      Get extension of the artifact.
      java.lang.String getGroupId()
      Get group ID of the artifact.
      java.lang.String getStereotype()
      Get maven stereotype of the artifact.
      java.lang.String getVersion()
      Get version of the artifact.
      void setArtifactId​(java.lang.String artifactId)
      Set artifact ID of the artifact.
      void setClassifier​(java.lang.String classifier)
      Set classifier of the artifact.
      void setExtension​(java.lang.String extension)
      Set extension of the artifact.
      void setGroupId​(java.lang.String groupId)
      Set group ID of the artifact.
      void setStereotype​(java.lang.String stereotype)
      Set maven stereotype of the artifact.
      void setVersion​(java.lang.String version)
      Set version of the artifact.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • groupId

        private java.lang.String groupId
        Group ID of the artifact.
      • artifactId

        private java.lang.String artifactId
        Artifact ID of the artifact.
      • version

        private java.lang.String version
        Version of the artifact.
      • classifier

        private java.lang.String classifier
        Classifier of the artifact.
      • stereotype

        private java.lang.String stereotype
        Maven stereotype of the artifact.
      • extension

        private java.lang.String extension
        Extension of the artifact.
    • Constructor Detail

      • Artifact

        public Artifact()
    • Method Detail

      • clone

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

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

        public java.lang.String getClassifier()
        Get classifier of the artifact.
        Returns:
        String
      • getExtension

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

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

        public java.lang.String getStereotype()
        Get maven stereotype of the artifact.
        Returns:
        String
      • getVersion

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

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

        public void setClassifier​(java.lang.String classifier)
        Set classifier of the artifact.
        Parameters:
        classifier -
      • setExtension

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

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

        public void setStereotype​(java.lang.String stereotype)
        Set maven stereotype of the artifact.
        Parameters:
        stereotype -
      • setVersion

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