Class Contributor
java.lang.Object
org.apache.maven.model.v3_0_0.Contributor
- All Implemented Interfaces:
Serializable
- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String key, String value) Method addProperty.voidMethod addRole.getEmail()Get the email address of the contributor.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.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.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.
-
Constructor Details
-
Contributor
public Contributor()
-
-
Method Details
-
addProperty
-
addRole
-
getEmail
-
getName
-
getOrganization
Get the organization to which the contributor belongs.- Returns:
- String
-
getOrganizationUrl
-
getProperties
-
getRoles
-
getTimezone
Get the timezone the contributor is in. This is a number in the range -11 to 12.- Returns:
- String
-
getUrl
-
removeRole
-
setEmail
Set the email address of the contributor.- Parameters:
email- a email object.
-
setName
Set the full name of the contributor.- Parameters:
name- a name object.
-
setOrganization
Set the organization to which the contributor belongs.- Parameters:
organization- a organization object.
-
setOrganizationUrl
Set the URL of the organization.- Parameters:
organizationUrl- a organizationUrl object.
-
setProperties
Set properties about the contributor, such as an instant messenger handle.- Parameters:
properties- a properties object.
-
setRoles
-
setTimezone
Set the timezone the contributor is in. This is a number in the range -11 to 12.- Parameters:
timezone- a timezone object.
-
setUrl
Set the URL for the homepage of the contributor.- Parameters:
url- a url object.
-