|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface defining an artifact (which probably lives in the repository).
Method Summary | |
boolean |
exists()
Boolean flag indicating whether this artifact exists. |
java.lang.String |
generatePath()
Generate the path for this artifact given its dependency attributes. |
java.lang.String |
getChecksumUrl()
Return the url to the checksum file for this artifact. |
Dependency |
getDependency()
Get the dependency. |
java.io.File |
getFile()
Get the location of the artifact in the local file system. |
java.lang.String |
getName()
Return the name of the artifact. |
java.lang.String |
getPath()
Return the path of the artifact using platform specific naming conventions. |
java.lang.String |
getUrlPath()
Return an URL path that is platform agnostic. |
boolean |
isSnapshot()
Boolean flag indicating whether this artifact is a snapshot. |
void |
setDependency(Dependency dependency)
Set the dependency for this JAR artifact. |
void |
setPath(java.lang.String path)
Set the path to the artifact. |
void |
verify()
Verify the artifact. |
Method Detail |
public void setDependency(Dependency dependency)
dependency
- Dependency this artifact is based on.public Dependency getDependency()
public void setPath(java.lang.String path)
path
- Path to the artifact.public java.lang.String getPath()
public java.lang.String generatePath()
public java.lang.String getUrlPath()
public java.lang.String getChecksumUrl()
public java.lang.String getName()
public boolean isSnapshot()
public boolean exists()
public java.io.File getFile()
public void verify() throws ChecksumVerificationException
ChecksumVerificationException
- if verification fails
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |