org.apache.ivy.core.module.descriptor
Interface Artifact

All Superinterfaces:
ExtendableItem
All Known Implementing Classes:
AbstractArtifact, DefaultArtifact, IvyPublish.PublishArtifact, MDArtifact

public interface Artifact
extends ExtendableItem

Author:
x.hanin

Method Summary
 java.lang.String[] getConfigurations()
           
 java.lang.String getExt()
           
 ArtifactRevisionId getId()
           
 ModuleRevisionId getModuleRevisionId()
          Returns the resolved module revision id for this artifact
 java.lang.String getName()
           
 java.util.Date getPublicationDate()
          Returns the resolved publication date for this artifact
 java.lang.String getType()
           
 java.net.URL getUrl()
          Returns the url at which this artifact can be found independently of ivy configuration.
 
Methods inherited from interface org.apache.ivy.util.extendable.ExtendableItem
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getStandardAttribute, getStandardAttributes
 

Method Detail

getModuleRevisionId

ModuleRevisionId getModuleRevisionId()
Returns the resolved module revision id for this artifact

Returns:

getPublicationDate

java.util.Date getPublicationDate()
Returns the resolved publication date for this artifact

Returns:
the resolved publication date

getName

java.lang.String getName()

getType

java.lang.String getType()

getExt

java.lang.String getExt()

getUrl

java.net.URL getUrl()
Returns the url at which this artifact can be found independently of ivy configuration. This can be null (and is usually for standard artifacts)

Returns:
url at which this artifact can be found independently of ivy configuration

getConfigurations

java.lang.String[] getConfigurations()

getId

ArtifactRevisionId getId()
Returns:
the id of the artifact