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.SerializableAn artifact object used by Javadoc path options like -docletpath or -tagletpath.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringartifactIdThe id of the artifact.private java.lang.StringgroupIdThe id of the group of the artifact.private java.lang.StringversionThe version of the artifact.
-
Constructor Summary
Constructors Constructor Description JavadocPathArtifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)Method equals.java.lang.StringgetArtifactId()Get the id of the artifact.java.lang.StringgetGroupId()Get the id of the group of the artifact.java.lang.StringgetVersion()Get the version of the artifact.inthashCode()Method hashCode.voidsetArtifactId(java.lang.String artifactId)Set the id of the artifact.voidsetGroupId(java.lang.String groupId)Set the id of the group of the artifact.voidsetVersion(java.lang.String version)Set the version of the artifact.java.lang.StringtoString()Method toString.
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin 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:
hashCodein 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:
toStringin classjava.lang.Object- Returns:
- String
-
-