Class Contributor

java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Contributor
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker
Direct Known Subclasses:
Developer

@Generated public class Contributor extends BaseObject
See Also:
  • Constructor Details

    • Contributor

      public Contributor()
    • Contributor

      public Contributor(Contributor delegate)
    • Contributor

      public Contributor(Contributor delegate, BaseObject parent)
  • Method Details

    • clone

      public Contributor clone()
      Overrides:
      clone in class Object
    • getDelegate

      public Contributor getDelegate()
      Overrides:
      getDelegate in class BaseObject
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getEmail

      public String getEmail()
    • setEmail

      public void setEmail(String email)
    • getUrl

      public String getUrl()
    • setUrl

      public void setUrl(String url)
    • getOrganization

      public String getOrganization()
    • setOrganization

      public void setOrganization(String organization)
    • getOrganizationUrl

      public String getOrganizationUrl()
    • setOrganizationUrl

      public void setOrganizationUrl(String organizationUrl)
    • getRoles

      @Nonnull public List<String> getRoles()
    • setRoles

      public void setRoles(List<String> roles)
    • addRole

      public void addRole(String role)
    • removeRole

      public void removeRole(String role)
    • getTimezone

      public String getTimezone()
    • setTimezone

      public void setTimezone(String timezone)
    • getProperties

      @Nonnull public Properties getProperties()
    • setProperties

      public void setProperties(Properties properties)
    • getLocation

      public InputLocation getLocation(Object key)
      Description copied from interface: InputLocationTracker
      Gets the location of the specified field in the input source.
      Parameters:
      key - The key of the field, must not be null.
      Returns:
      The location of the field in the input source or null if unknown.
    • setLocation

      public void setLocation(Object key, InputLocation location)
      Description copied from interface: InputLocationTracker
      Sets the location of the specified field.
      Parameters:
      key - The key of the field, must not be null.
      location - The location of the field, may be null.
    • replace

      protected boolean replace(Object oldDelegate, Object newDelegate)
      Overrides:
      replace in class BaseObject
    • contributorToApiV4

      public static List<Contributor> contributorToApiV4(List<Contributor> list)
    • contributorToApiV3

      public static List<Contributor> contributorToApiV3(List<Contributor> list)