Class PublishArtifactInfo

java.lang.Object
org.jfrog.gradle.plugin.artifactory.extractor.PublishArtifactInfo
All Implemented Interfaces:
Comparable<PublishArtifactInfo>

public class PublishArtifactInfo extends Object implements Comparable<PublishArtifactInfo>
Describes an Artifact information to be published
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getExtension

      public String getExtension()
    • getType

      public String getType()
    • getClassifier

      public String getClassifier()
    • getExtraInfo

      public Map<QName,String> getExtraInfo()
      Get artifact raw extra information.
      Returns:
      a map of raw extra information
    • getExtraTokens

      public Map<String,String> getExtraTokens()
      Get the artifact (and module) processed and combined extra information. 1. adds 'classifier' extra information to the map 2. adds the raw artifact extra information and remove duplications of keys (localPart in the QName are the same).
      Returns:
      a map of artifact extra information that can be used to create the artifact path for DeployDetails.
    • getFile

      public File getFile()
    • compareTo

      public int compareTo(PublishArtifactInfo other)
      Specified by:
      compareTo in interface Comparable<PublishArtifactInfo>
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object