org.apache.maven.plugin.javadoc.options
Class JavadocPathArtifact

java.lang.Object
  extended by org.apache.maven.plugin.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: 829389 $ $Date: 2012-08-19 17:23:07 +0000 (Sun, 19 Aug 2012) $
See Also:
Serialized Form

Constructor Summary
JavadocPathArtifact()
           
 
Method Summary
 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 getModelEncoding()
           
 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 setModelEncoding(java.lang.String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setVersion(java.lang.String version)
          Set the version of the artifact.
 java.lang.String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavadocPathArtifact

public JavadocPathArtifact()
Method Detail

equals

public boolean equals(java.lang.Object other)
Method equals.

Overrides:
equals in class java.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 class java.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 class java.lang.Object
Returns:
java.lang.String

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public java.lang.String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.