java.lang.Object
net.minecraftforge.fml.relauncher.libraries.Artifact
All Implemented Interfaces:
Comparable<Artifact>

public class Artifact extends Object implements Comparable<Artifact>
  • Field Details

    • repo

      private final Repository repo
    • group

      private final String group
    • artifact

      private final String artifact
    • classifier

      private final String classifier
    • extension

      private final String extension
    • value

      private final String value
    • version

      private final org.apache.maven.artifact.versioning.ComparableVersion version
    • timestamp

      private final String timestamp
    • date

      private final Date date
    • filename

      private String filename
    • folder

      private String folder
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

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

      public String getFilename()
    • getFolder

      public String getFolder()
    • getPath

      public String getPath()
    • getFile

      public File getFile()
    • getSnapshotMeta

      public File getSnapshotMeta()
    • isSnapshot

      public boolean isSnapshot()
    • getTimestamp

      public String getTimestamp()
    • getVersion

      public org.apache.maven.artifact.versioning.ComparableVersion getVersion()
    • getRepository

      public Repository getRepository()
    • matchesID

      public boolean matchesID(Artifact o)
    • compareVersion

      public int compareVersion(Artifact o)
    • compareTo

      public int compareTo(Artifact o)
      Specified by:
      compareTo in interface Comparable<Artifact>