Package org.fedoraproject.xmvn.config
Class Artifact
java.lang.Object
org.fedoraproject.xmvn.config.Artifact
- All Implemented Interfaces:
Serializable
,Cloneable
Identifier of Maven artifact.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Method clone.Get artifact ID of the artifact.Get classifier of the artifact.Get extension of the artifact.Get group ID of the artifact.Get maven stereotype of the artifact.Get version of the artifact.void
setArtifactId
(String artifactId) Set artifact ID of the artifact.void
setClassifier
(String classifier) Set classifier of the artifact.void
setExtension
(String extension) Set extension of the artifact.void
setGroupId
(String groupId) Set group ID of the artifact.void
setStereotype
(String stereotype) Set maven stereotype of the artifact.void
setVersion
(String version) Set version of the artifact.
-
Constructor Details
-
Artifact
public Artifact()
-
-
Method Details
-
clone
Method clone. -
getArtifactId
Get artifact ID of the artifact.- Returns:
- String
-
getClassifier
Get classifier of the artifact.- Returns:
- String
-
getExtension
Get extension of the artifact.- Returns:
- String
-
getGroupId
Get group ID of the artifact.- Returns:
- String
-
getStereotype
Get maven stereotype of the artifact.- Returns:
- String
-
getVersion
Get version of the artifact.- Returns:
- String
-
setArtifactId
Set artifact ID of the artifact.- Parameters:
artifactId
- a artifactId object.
-
setClassifier
Set classifier of the artifact.- Parameters:
classifier
- a classifier object.
-
setExtension
Set extension of the artifact.- Parameters:
extension
- a extension object.
-
setGroupId
Set group ID of the artifact.- Parameters:
groupId
- a groupId object.
-
setStereotype
Set maven stereotype of the artifact.- Parameters:
stereotype
- a stereotype object.
-
setVersion
Set version of the artifact.- Parameters:
version
- a version object.
-