Class Contributor

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

public class Contributor extends Object implements 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:
  • Field Details

    • name

      private String name
      The full name of the contributor.
    • email

      private String email
      The email address of the contributor.
    • url

      private String url
      The URL for the homepage of the contributor.
    • organization

      private String organization
      The organization to which the contributor belongs.
    • organizationUrl

      private String organizationUrl
      The URL of the organization.
    • roles

      private List<String> roles
      Field roles.
    • timezone

      private String timezone
      The timezone the contributor is in. This is a number in the range -11 to 12.
    • properties

      private Properties properties
      Field properties.
  • Constructor Details

    • Contributor

      public Contributor()
  • Method Details

    • addProperty

      public void addProperty(String key, String value)
      Method addProperty.
      Parameters:
      key -
      value -
    • addRole

      public void addRole(String string)
      Method addRole.
      Parameters:
      string -
    • getEmail

      public String getEmail()
      Get the email address of the contributor.
      Returns:
      String
    • getName

      public String getName()
      Get the full name of the contributor.
      Returns:
      String
    • getOrganization

      public String getOrganization()
      Get the organization to which the contributor belongs.
      Returns:
      String
    • getOrganizationUrl

      public String getOrganizationUrl()
      Get the URL of the organization.
      Returns:
      String
    • getProperties

      public Properties getProperties()
      Method getProperties.
      Returns:
      Properties
    • getRoles

      public List<String> getRoles()
      Method getRoles.
      Returns:
      List
    • getTimezone

      public String getTimezone()
      Get the timezone the contributor is in. This is a number in the range -11 to 12.
      Returns:
      String
    • getUrl

      public String getUrl()
      Get the URL for the homepage of the contributor.
      Returns:
      String
    • removeRole

      public void removeRole(String string)
      Method removeRole.
      Parameters:
      string -
    • setEmail

      public void setEmail(String email)
      Set the email address of the contributor.
      Parameters:
      email -
    • setName

      public void setName(String name)
      Set the full name of the contributor.
      Parameters:
      name -
    • setOrganization

      public void setOrganization(String organization)
      Set the organization to which the contributor belongs.
      Parameters:
      organization -
    • setOrganizationUrl

      public void setOrganizationUrl(String organizationUrl)
      Set the URL of the organization.
      Parameters:
      organizationUrl -
    • setProperties

      public void setProperties(Properties properties)
      Set properties about the contributor, such as an instant messenger handle.
      Parameters:
      properties -
    • setRoles

      public void setRoles(List<String> 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(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(String url)
      Set the URL for the homepage of the contributor.
      Parameters:
      url -