| org.apache.ivy.core.module.descriptor.Artifact
All known Subclasses: org.apache.ivy.core.module.descriptor.AbstractArtifact,
Artifact | public interface Artifact extends ExtendableItem(Code) | | Representation of a published 'file' in the development environment. An artifact is generally a
file that is produced by a project build. This is typically a 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.
the list of configuration this artifact is associated to. | String | getExt() Retrieve the extension of the artifact. | ArtifactRevisionId | getId() Return the specific identifier of this artifact. | ModuleRevisionId | getModuleRevisionId() | String | getName() Return the name of the artifact, generally 'part' of the basename of the file.
the name of the artifact. | Date | getPublicationDate() Returns the resolved publication date for this artifact
the resolved publication date. | String | getType() Returns the type of the artifact, typically 'jar', 'source', 'javadoc', 'debian', ...
the type of the artifact. | URL | getUrl() Returns the url at which this artifact can be found independently of ivy configuration. | boolean | isMetadata() |
getConfigurations | String[] getConfigurations()(Code) | | Returns the list of configurations where this artifact is associated to.
the list of configuration this artifact is associated to. Never null. |
getExt | String getExt()(Code) | | Retrieve the extension of the artifact. The extension is without dot (ie. 'jar' and not
'.jar')
the extension of the artifact. Never null. |
getModuleRevisionId | ModuleRevisionId getModuleRevisionId()(Code) | | Returns the resolved module revision id for this artifact
the resolved module revision id. |
getName | String getName()(Code) | | Return the name of the artifact, generally 'part' of the basename of the file.
the name of the artifact. Never null. |
getPublicationDate | Date getPublicationDate()(Code) | | Returns the resolved publication date for this artifact
the resolved publication date. Never null. |
getType | String getType()(Code) | | Returns the type of the artifact, typically 'jar', 'source', 'javadoc', 'debian', ...
the type of the artifact. Never null. |
getUrl | URL getUrl()(Code) | | Returns the url at which this artifact can be found independently of ivy configuration. This
can be null (and is usually for standard artifacts)
url at which this artifact can be found independently of ivy configuration |
isMetadata | boolean isMetadata()(Code) | | Returns true if this artifact represents a module metadata artifact, false if it's a
published artifact
true if this artifact represents a module metadata artifact, false if it's apublished artifact |
|
|