org.apache.maven.model
Class Extension

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

public class Extension
extends Object
implements Serializable

Describes a build extension to utilise.

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

Constructor Summary
Extension()
           
 
Method Summary
 boolean equals(Object o)
           
 String getArtifactId()
          Get the artifact ID of the extension.
 String getGroupId()
          Get the group ID of the extension's artifact.
 String getVersion()
          Get the version of the extension.
 int hashCode()
           
 void setArtifactId(String artifactId)
          Set the artifact ID of the extension.
 void setGroupId(String groupId)
          Set the group ID of the extension's artifact.
 void setVersion(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 String getArtifactId()
Get the artifact ID of the extension.

Returns:
String

getGroupId

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

Returns:
String

getVersion

public String getVersion()
Get the version of the extension.

Returns:
String

setArtifactId

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

Parameters:
artifactId -

setGroupId

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

Parameters:
groupId -

setVersion

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

Parameters:
version -

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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