Package org.apache.maven.model
Class Contributor
java.lang.Object
org.apache.maven.model.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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
The email address of the contributor.private String
The full name of the contributor.private String
The organization to which the contributor belongs.private String
The URL of the organization.private Properties
Field properties.Field roles.private String
The timezone the contributor is in.private String
The URL for the homepage of the contributor. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(String key, String value) Method addProperty.void
Method 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.void
removeRole
(String string) Method removeRole.void
Set the email address of the contributor.void
Set the full name of the contributor.void
setOrganization
(String organization) Set the organization to which the contributor belongs.void
setOrganizationUrl
(String organizationUrl) Set the URL of the organization.void
setProperties
(Properties properties) Set properties about the contributor, such as an instant messenger handle.void
Set the roles the contributor plays in the project.void
setTimezone
(String timezone) Set the timezone the contributor is in.void
Set the URL for the homepage of the contributor.
-
Field Details
-
name
The full name of the contributor. -
email
The email address of the contributor. -
url
The URL for the homepage of the contributor. -
organization
The organization to which the contributor belongs. -
organizationUrl
The URL of the organization. -
roles
Field roles. -
timezone
The timezone the contributor is in. This is a number in the range -11 to 12. -
properties
Field properties.
-
-
Constructor Details
-
Contributor
public Contributor()
-
-
Method Details
-
addProperty
Method addProperty.- Parameters:
key
-value
-
-
addRole
Method addRole.- Parameters:
string
-
-
getEmail
Get the email address of the contributor.- Returns:
- String
-
getName
Get the full name of the contributor.- Returns:
- String
-
getOrganization
Get the organization to which the contributor belongs.- Returns:
- String
-
getOrganizationUrl
Get the URL of the organization.- Returns:
- String
-
getProperties
Method getProperties.- Returns:
- Properties
-
getRoles
Method getRoles.- Returns:
- List
-
getTimezone
Get the timezone the contributor is in. This is a number in the range -11 to 12.- Returns:
- String
-
getUrl
Get the URL for the homepage of the contributor.- Returns:
- String
-
removeRole
Method removeRole.- Parameters:
string
-
-
setEmail
Set the email address of the contributor.- Parameters:
email
-
-
setName
Set the full name of the contributor.- Parameters:
name
-
-
setOrganization
Set the organization to which the contributor belongs.- Parameters:
organization
-
-
setOrganizationUrl
Set the URL of the organization.- Parameters:
organizationUrl
-
-
setProperties
Set properties about the contributor, such as an instant messenger handle.- Parameters:
properties
-
-
setRoles
Set the roles the contributor plays in the project. Each role is described by arole
element, the body of which is a role name. This can also be used to describe the contribution.- Parameters:
roles
-
-
setTimezone
Set the timezone the contributor is in. This is a number in the range -11 to 12.- Parameters:
timezone
-
-
setUrl
Set the URL for the homepage of the contributor.- Parameters:
url
-
-