Class ArtifactId

java.lang.Object
org.apache.ivy.core.module.id.ArtifactId

public class ArtifactId extends Object
Identifies an artifact in a module, without revision information
See Also:
  • Constructor Details

    • ArtifactId

      public ArtifactId(ModuleId mid, String name, String type, String ext)
      Parameters:
      mid - The ModuleId, which is the base of this artifact.
      name - The name of the artifact.
      type - The type of the artifact.
      ext - The name extension of the artifact.
  • Method Details

    • equals

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

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

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

      public String getShortDescription()
    • getModuleId

      public ModuleId getModuleId()
      Returns:
      Returns the module id.
    • getName

      public String getName()
      Returns:
      Returns the name.
    • getType

      public String getType()
      Returns:
      Returns the type.
    • getExt

      public String getExt()
      Returns:
      Returns the ext.