Class Artifact
java.lang.Object
org.apache.maven.buildcache.xml.build.Artifact
- All Implemented Interfaces:
Serializable
Class Artifact.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the artifactId field.Get the classifier field.Get the fileHash field.Get the fileName field.Get the filePath field.longGet the fileSize field.Get the groupId field.getScope()Get the scope field.getType()Get the type field.Get the version field.voidsetArtifactId(String artifactId) Set the artifactId field.voidsetClassifier(String classifier) Set the classifier field.voidsetFileHash(String fileHash) Set the fileHash field.voidsetFileName(String fileName) Set the fileName field.voidsetFilePath(String filePath) Set the filePath field.voidsetFileSize(long fileSize) Set the fileSize field.voidsetGroupId(String groupId) Set the groupId field.voidSet the scope field.voidSet the type field.voidsetVersion(String version) Set the version field.
-
Constructor Details
-
Artifact
public Artifact()
-
-
Method Details
-
getArtifactId
Get the artifactId field.- Returns:
- String
-
getClassifier
Get the classifier field.- Returns:
- String
-
getFileHash
Get the fileHash field.- Returns:
- String
-
getFileName
Get the fileName field.- Returns:
- String
-
getFilePath
Get the filePath field.- Returns:
- String
-
getFileSize
public long getFileSize()Get the fileSize field.- Returns:
- long
-
getGroupId
Get the groupId field.- Returns:
- String
-
getScope
Get the scope field.- Returns:
- String
-
getType
Get the type field.- Returns:
- String
-
getVersion
Get the version field.- Returns:
- String
-
setArtifactId
Set the artifactId field.- Parameters:
artifactId- a artifactId object.
-
setClassifier
Set the classifier field.- Parameters:
classifier- a classifier object.
-
setFileHash
Set the fileHash field.- Parameters:
fileHash- a fileHash object.
-
setFileName
Set the fileName field.- Parameters:
fileName- a fileName object.
-
setFilePath
Set the filePath field.- Parameters:
filePath- a filePath object.
-
setFileSize
public void setFileSize(long fileSize) Set the fileSize field.- Parameters:
fileSize- a fileSize object.
-
setGroupId
Set the groupId field.- Parameters:
groupId- a groupId object.
-
setScope
Set the scope field.- Parameters:
scope- a scope object.
-
setType
Set the type field.- Parameters:
type- a type object.
-
setVersion
Set the version field.- Parameters:
version- a version object.
-