ExtendableItem
AbstractArtifact
, DefaultArtifact
, IvyPublish.PublishArtifact
, MDArtifact
public interface Artifact extends ExtendableItem
jar
, a
war
, an ear
, a zip
, a deb
, etc.Modifier and Type | Method | Description |
---|---|---|
java.lang.String[] |
getConfigurations() |
Returns the list of configurations where this artifact is associated to.
|
java.lang.String |
getExt() |
Retrieve the extension of the artifact.
|
ArtifactRevisionId |
getId() |
Return the specific identifier of this artifact.
|
ModuleRevisionId |
getModuleRevisionId() |
Returns the resolved module revision id for this artifact
|
java.lang.String |
getName() |
Return the name of the artifact, generally 'part' of the basename of the file.
|
java.util.Date |
getPublicationDate() |
Returns the resolved publication date for this artifact
|
java.lang.String |
getType() |
Returns the type of the artifact, typically 'jar', 'source', 'javadoc', 'debian', ...
|
java.net.URL |
getUrl() |
Returns the url at which this artifact can be found independently of ivy configuration.
|
boolean |
isMetadata() |
Returns true if this artifact represents a module metadata artifact, false if it's a
published artifact
|
getAttribute, getAttributes, getExtraAttribute, getExtraAttributes, getQualifiedExtraAttributes
ModuleRevisionId getModuleRevisionId()
java.util.Date getPublicationDate()
java.lang.String getName()
java.lang.String getType()
java.lang.String getExt()
java.net.URL getUrl()
java.lang.String[] getConfigurations()
ArtifactRevisionId getId()
boolean isMetadata()