org.apache.ivy.core.module.descriptor
public interface Artifact extends ExtendableItem
jar
,
a war
, an ear
, a zip
, a deb
, etc.
Method Summary | |
---|---|
String[] | getConfigurations()
Returns the list of configurations where this artifact is associated to.
|
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
|
String | getName()
Return the name of the artifact, generally 'part' of the basename of the file.
|
Date | getPublicationDate()
Returns the resolved publication date for this artifact
|
String | getType()
Returns the type of the artifact, typically 'jar', 'source', 'javadoc', 'debian', ...
|
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
|
Returns: the list of configuration this artifact is associated to. Never null.
Returns: the extension of the artifact. Never null.
Returns: the id of the artifact
Returns: the resolved module revision id.
Returns: the name of the artifact. Never null.
Returns: the resolved publication date. Never null.
Returns: the type of the artifact. Never null.
Returns: url at which this artifact can be found independently of ivy configuration
Returns: true if this artifact represents a module metadata artifact, false if it's a published artifact