Class JavadocPathArtifact
- java.lang.Object
-
- org.apache.maven.plugins.javadoc.options.JavadocPathArtifact
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BootclasspathArtifact
,DocletArtifact
,ResourcesArtifact
,TagletArtifact
public class JavadocPathArtifact extends java.lang.Object implements java.io.Serializable
An artifact object used by Javadoc path options like -docletpath or -tagletpath.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavadocPathArtifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
Method equals.java.lang.String
getArtifactId()
Get the id of the artifact.java.lang.String
getGroupId()
Get the id of the group of the artifact.java.lang.String
getVersion()
Get the version of the artifact.int
hashCode()
Method hashCode.void
setArtifactId(java.lang.String artifactId)
Set the id of the artifact.void
setGroupId(java.lang.String groupId)
Set the id of the group of the artifact.void
setVersion(java.lang.String version)
Set the version of the artifact.java.lang.String
toString()
Method toString.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equals
in classjava.lang.Object
- Parameters:
other
-- Returns:
- boolean
-
getArtifactId
public java.lang.String getArtifactId()
Get the id of the artifact.- Returns:
- String
-
getGroupId
public java.lang.String getGroupId()
Get the id of the group of the artifact.- Returns:
- String
-
getVersion
public java.lang.String getVersion()
Get the version of the artifact.- Returns:
- String
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCode
in classjava.lang.Object
- Returns:
- int
-
setArtifactId
public void setArtifactId(java.lang.String artifactId)
Set the id of the artifact.- Parameters:
artifactId
-
-
setGroupId
public void setGroupId(java.lang.String groupId)
Set the id of the group of the artifact.- Parameters:
groupId
-
-
setVersion
public void setVersion(java.lang.String version)
Set the version of the artifact.- Parameters:
version
-
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toString
in classjava.lang.Object
- Returns:
- String
-
-