Package org.apache.maven.model
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
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.maven.model.BaseObjectBaseObject.ChildrenTracking
- 
Field SummaryFields inherited from class org.apache.maven.model.BaseObjectchildrenTracking, delegate
- 
Constructor SummaryConstructorsConstructorDescriptionContributor(Contributor delegate) Contributor(Contributor delegate, BaseObject parent) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddProperty(String key, String value) voidclone()static List<Contributor>contributorToApiV3(List<Contributor> list) static List<Contributor>contributorToApiV4(List<Contributor> list) booleangetEmail()getLocation(Object key) Gets the location of the specified field in the input source.getName()getRoles()getUrl()inthashCode()voidremoveRole(String role) protected booleanvoidvoidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidvoidsetOrganization(String organization) voidsetOrganizationUrl(String organizationUrl) voidsetProperties(Properties properties) voidvoidsetTimezone(String timezone) voidtoString()Methods inherited from class org.apache.maven.model.BaseObjectupdate
- 
Constructor Details- 
Contributorpublic Contributor()
- 
Contributor
- 
Contributor
 
- 
- 
Method Details- 
clone
- 
getDelegate- Overrides:
- getDelegatein class- BaseObject
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getName
- 
setName
- 
getEmail
- 
setEmail
- 
getUrl
- 
setUrl
- 
getOrganization
- 
setOrganization
- 
getOrganizationUrl
- 
setOrganizationUrl
- 
getRoles
- 
setRoles
- 
addRole
- 
removeRole
- 
getTimezone
- 
setTimezone
- 
getProperties
- 
setProperties
- 
addProperty
- 
getLocationDescription copied from interface:InputLocationTrackerGets 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
 nullif unknown.
 
- 
setLocationDescription copied from interface:InputLocationTrackerSets 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- Overrides:
- replacein class- BaseObject
 
- 
contributorToApiV4
- 
contributorToApiV3
- 
toString
 
-