Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String email
      The email address of the contributor.
      private java.lang.String name
      The full name of the contributor.
      private java.lang.String organization
      The organization to which the contributor belongs.
      private java.lang.String organizationUrl
      The URL of the organization.
      private java.util.Properties properties
      Field properties.
      private java.util.List<java.lang.String> roles
      Field roles.
      private java.lang.String timezone
      The timezone the contributor is in.
      private java.lang.String url
      The URL for the homepage of the contributor.
    • Constructor Summary

      Constructors 
      Constructor Description
      Contributor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 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<java.lang.String> 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 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<java.lang.String> 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
    • Field Detail

      • name

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

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

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

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

        private java.lang.String organizationUrl
        The URL of the organization.
      • roles

        private java.util.List<java.lang.String> roles
        Field roles.
      • timezone

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

        private java.util.Properties properties
        Field properties.
    • Constructor Detail

      • Contributor

        public Contributor()
    • Method Detail

      • addProperty

        public void addProperty​(java.lang.String key,
                                java.lang.String value)
        Method addProperty.
        Parameters:
        key - a key object.
        value - a value object.
      • addRole

        public void addRole​(java.lang.String string)
        Method addRole.
        Parameters:
        string - a string object.
      • getEmail

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

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

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

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

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

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

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

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

        public void removeRole​(java.lang.String string)
        Method removeRole.
        Parameters:
        string - a string object.
      • setEmail

        public void setEmail​(java.lang.String email)
        Set the email address of the contributor.
        Parameters:
        email - a email object.
      • setName

        public void setName​(java.lang.String name)
        Set the full name of the contributor.
        Parameters:
        name - a name object.
      • setOrganization

        public void setOrganization​(java.lang.String organization)
        Set the organization to which the contributor belongs.
        Parameters:
        organization - a organization object.
      • setOrganizationUrl

        public void setOrganizationUrl​(java.lang.String organizationUrl)
        Set the URL of the organization.
        Parameters:
        organizationUrl - a organizationUrl object.
      • setProperties

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

        public void setRoles​(java.util.List<java.lang.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 - a roles object.
      • 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 - a timezone object.
      • setUrl

        public void setUrl​(java.lang.String url)
        Set the URL for the homepage of the contributor.
        Parameters:
        url - a url object.