org.apache.maven.model
Class Contributor

java.lang.Object
  extended by org.apache.maven.model.Contributor
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Developer

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

Description of a person who has contributed to the project, but who does not have commit privileges. Usually, these contributions come in the form of patches submitted.

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

Constructor Summary
Contributor()
           
 
Method Summary
 void addProperty(java.lang.String key, java.lang.String value)
          Method addProperty
 void addRole(java.lang.String string)
          Method addRole
 java.lang.String getEmail()
          Get The email address of the contributor.
 java.lang.String getModelEncoding()
           
 java.lang.String getName()
          Get The full name of the contributor.
 java.lang.String getOrganization()
          Get The organization to which the contributor belongs.
 java.lang.String getOrganizationUrl()
          Get The URL of the organization.
 java.util.Properties getProperties()
          Method getProperties
 java.util.List getRoles()
          Method getRoles
 java.lang.String getTimezone()
          Get The timezone the contributor is in.
 java.lang.String getUrl()
          Get The URL for the homepage of the contributor.
 void removeRole(java.lang.String string)
          Method removeRole
 void setEmail(java.lang.String email)
          Set The email address of the contributor.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setName(java.lang.String name)
          Set The full name of the contributor.
 void setOrganization(java.lang.String organization)
          Set The organization to which the contributor belongs.
 void setOrganizationUrl(java.lang.String organizationUrl)
          Set The URL of the organization.
 void setProperties(java.util.Properties properties)
          Set Properties about the contributor, such as an instant messenger handle.
 void setRoles(java.util.List roles)
          Set The roles the contributor plays in the project.
 void setTimezone(java.lang.String timezone)
          Set The timezone the contributor is in.
 void setUrl(java.lang.String url)
          Set The URL for the homepage of the contributor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contributor

public Contributor()
Method Detail

addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)
Method addProperty

Parameters:
key -
value -

addRole

public void addRole(java.lang.String string)
Method addRole

Parameters:
string -

getEmail

public java.lang.String getEmail()
Get The email address of the contributor.


getName

public java.lang.String getName()
Get The full name of the contributor.


getOrganization

public java.lang.String getOrganization()
Get The organization to which the contributor belongs.


getOrganizationUrl

public java.lang.String getOrganizationUrl()
Get The URL of the organization.


getProperties

public java.util.Properties getProperties()
Method getProperties


getRoles

public java.util.List getRoles()
Method getRoles


getTimezone

public java.lang.String getTimezone()
Get The timezone the contributor is in. This is a number in the range -11 to 12.


getUrl

public java.lang.String getUrl()
Get The URL for the homepage of the contributor.


removeRole

public void removeRole(java.lang.String string)
Method removeRole

Parameters:
string -

setEmail

public void setEmail(java.lang.String email)
Set The email address of the contributor.

Parameters:
email -

setName

public void setName(java.lang.String name)
Set The full name of the contributor.

Parameters:
name -

setOrganization

public void setOrganization(java.lang.String organization)
Set The organization to which the contributor belongs.

Parameters:
organization -

setOrganizationUrl

public void setOrganizationUrl(java.lang.String organizationUrl)
Set The URL of the organization.

Parameters:
organizationUrl -

setProperties

public void setProperties(java.util.Properties properties)
Set Properties about the contributor, such as an instant messenger handle.

Parameters:
properties -

setRoles

public void setRoles(java.util.List roles)
Set The roles the contributor plays in the project. Each role is described by a role element, the body of which is a role name. This can also be used to describe the contribution.

Parameters:
roles -

setTimezone

public void setTimezone(java.lang.String timezone)
Set The timezone the contributor is in. This is a number in the range -11 to 12.

Parameters:
timezone -

setUrl

public void setUrl(java.lang.String url)
Set The URL for the homepage of the contributor.

Parameters:
url -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.