org.apache.maven.model
Class Extension

java.lang.Object
  extended by org.apache.maven.model.Extension
All Implemented Interfaces:
java.io.Serializable

public class Extension
extends java.lang.Object
implements java.io.Serializable

Describes a build extension to utilise.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Extension()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getArtifactId()
          Get The artifact ID of the extension.
 java.lang.String getGroupId()
          Get The group ID of the extension's artifact.
 java.lang.String getModelEncoding()
           
 java.lang.String getVersion()
          Get The version of the extension.
 int hashCode()
           
 void setArtifactId(java.lang.String artifactId)
          Set The artifact ID of the extension.
 void setGroupId(java.lang.String groupId)
          Set The group ID of the extension's artifact.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setVersion(java.lang.String version)
          Set The version of the extension.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Extension

public Extension()
Method Detail

getArtifactId

public java.lang.String getArtifactId()
Get The artifact ID of the extension.


getGroupId

public java.lang.String getGroupId()
Get The group ID of the extension's artifact.


getVersion

public java.lang.String getVersion()
Get The version of the extension.


setArtifactId

public void setArtifactId(java.lang.String artifactId)
Set The artifact ID of the extension.

Parameters:
artifactId -

setGroupId

public void setGroupId(java.lang.String groupId)
Set The group ID of the extension's artifact.

Parameters:
groupId -

setVersion

public void setVersion(java.lang.String version)
Set The version of the extension.

Parameters:
version -

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.