|
|||||||||
| Home >> All >> org >> repoweb >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.repoweb.model
Interface Artifact

- public interface Artifact
Represent a maven's artifact (jar, xml, etc. files)
| Method Summary | |
java.lang.String |
getArtifactId()
Retrieve the Artifact Id. |
java.lang.String |
getFileName()
Retrieve the file name of the artifact. |
java.lang.String |
getGroupId()
Retrieve the Group Id. |
java.lang.String |
getId()
Return an id for an artifact. |
long |
getLength()
Retrieve the artifact length. |
java.lang.String |
getType()
Retrieve the artifact type. |
java.lang.String |
getVersion()
Retrieve the version of this artifact. |
boolean |
isOverridden()
Indicates if the fileName is conform to the standard maven's naming schema. |
| Method Detail |
getGroupId
public java.lang.String getGroupId()
- Retrieve the Group Id.
getArtifactId
public java.lang.String getArtifactId()
- Retrieve the Artifact Id.
getId
public java.lang.String getId()
- Return an id for an artifact.
getType
public java.lang.String getType()
- Retrieve the artifact type. This is determined by the folder containing the
artifact.
getVersion
public java.lang.String getVersion()
- Retrieve the version of this artifact. Returns an empty string when no version has
been given.
getFileName
public java.lang.String getFileName()
- Retrieve the file name of the artifact.
getLength
public long getLength()
- Retrieve the artifact length.
isOverridden
public boolean isOverridden()
- Indicates if the fileName is conform to the standard maven's naming schema.
[maven]/[groupId]/[type]s/[artifactId]-[version].[type]
|
|||||||||
| Home >> All >> org >> repoweb >> [ model overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC