Class DoapArtifact
java.lang.Object
org.apache.maven.plugin.doap.options.DoapArtifact
- All Implemented Interfaces:
Serializable
An Maven artifact object used by DOAP.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod equals.Get the artifact id of the Maven artifact.Get the path of the DOAP file that will be generated, no notion of path.Get the id of the group of the Maven artifact.Get the version of the Maven artifact.inthashCode()Method hashCode.voidsetArtifactId(String artifactId) Set the artifact id of the Maven artifact.voidsetDoapFileName(String doapFileName) Set the name of the DOAP file that will be generated, no notion of path.voidsetGroupId(String groupId) Set the id of the group of the Maven artifact.voidsetVersion(String version) Set the version of the Maven artifact.toString()Method toString.
-
Constructor Details
-
DoapArtifact
public DoapArtifact()
-
-
Method Details
-
equals
-
getArtifactId
-
getGroupId
-
getVersion
-
hashCode
-
setArtifactId
Set the artifact id of the Maven artifact.- Parameters:
artifactId- a artifactId object.
-
setDoapFileName
Set the name of the DOAP file that will be generated, no notion of path.- Parameters:
doapFileName- a doapFileName object.
-
setGroupId
Set the id of the group of the Maven artifact.- Parameters:
groupId- a groupId object.
-
setVersion
Set the version of the Maven artifact.- Parameters:
version- a version object.
-
toString
-
getDoapFileName
Get the path of the DOAP file that will be generated, no notion of path.
If not specified, return"doap_" + this.artifactId + ".rdf"- Returns:
- String
-
toConfiguration
- Returns:
- String the configuration of this class.
-