Package org.apache.maven.model
Class Contributor
java.lang.Object
org.apache.maven.model.Contributor
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
- Direct Known Subclasses:
- Developer
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:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddProperty(String key, String value) Method addProperty.voidMethod addRole.clone()Method clone.getEmail()Get the email address of the contributor.getLocation(Object key) Gets the location of the specified field in the input source.getName()Get the full name of the contributor.Get the organization to which the contributor belongs.Get the URL of the organization.Method getProperties.getRoles()Method getRoles.Get the timezone the contributor is in.getUrl()Get the URL for the homepage of the contributor.voidremoveRole(String string) Method removeRole.voidSet the email address of the contributor.voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidSet the full name of the contributor.voidsetOrganization(String organization) Set the organization to which the contributor belongs.voidsetOrganizationUrl(String organizationUrl) Set the URL of the organization.voidsetOtherLocation(Object key, InputLocation location) voidsetProperties(Properties properties) Set properties about the contributor, such as an instant messenger handle.voidSet the roles the contributor plays in the project.voidsetTimezone(String timezone) Set the timezone the contributor is in.voidSet the URL for the homepage of the contributor.toString()
- 
Constructor Details- 
Contributorpublic Contributor()
 
- 
- 
Method Details- 
addPropertyMethod addProperty.- Parameters:
- key- a key object.
- value- a value object.
 
- 
addRoleMethod addRole.- Parameters:
- string- a string object.
 
- 
cloneMethod clone.
- 
getEmailGet the email address of the contributor.- Returns:
- String
 
- 
getLocationDescription copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- Returns:
- InputLocation
 
- 
getNameGet the full name of the contributor.- Returns:
- String
 
- 
getOrganizationGet the organization to which the contributor belongs.- Returns:
- String
 
- 
getOrganizationUrlGet the URL of the organization.- Returns:
- String
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets the location of the specified field.- Specified by:
- setLocationin interface- InputLocationTracker
- Parameters:
- key- a key object.
- location- a location object.
 
- 
setOtherLocation- Parameters:
- key- a key object.
- location- a location object.
 
- 
getPropertiesMethod getProperties.- Returns:
- Properties
 
- 
getRolesMethod getRoles.- Returns:
- List
 
- 
getTimezoneGet the timezone the contributor is in. Typically, this is a number in the range -12 to +14 or a valid time zone id like "America/Montreal" (UTC-05:00) or "Europe/Paris" (UTC+01:00).- Returns:
- String
 
- 
getUrlGet the URL for the homepage of the contributor.- Returns:
- String
 
- 
removeRoleMethod removeRole.- Parameters:
- string- a string object.
 
- 
setEmailSet the email address of the contributor.- Parameters:
- email- a email object.
 
- 
setNameSet the full name of the contributor.- Parameters:
- name- a name object.
 
- 
setOrganizationSet the organization to which the contributor belongs.- Parameters:
- organization- a organization object.
 
- 
setOrganizationUrlSet the URL of the organization.- Parameters:
- organizationUrl- a organizationUrl object.
 
- 
setPropertiesSet properties about the contributor, such as an instant messenger handle.- Parameters:
- properties- a properties object.
 
- 
setRolesSet the roles the contributor plays in the project. Each role is described by aroleelement, the body of which is a role name. This can also be used to describe the contribution.- Parameters:
- roles- a roles object.
 
- 
setTimezoneSet the timezone the contributor is in. Typically, this is a number in the range -12 to +14 or a valid time zone id like "America/Montreal" (UTC-05:00) or "Europe/Paris" (UTC+01:00).- Parameters:
- timezone- a timezone object.
 
- 
setUrlSet the URL for the homepage of the contributor.- Parameters:
- url- a url object.
 
- 
toString
 
-