Package org.apache.maven.api.model
Class Developer
java.lang.Object
org.apache.maven.api.model.Contributor
org.apache.maven.api.model.Developer
- All Implemented Interfaces:
- Serializable,- InputLocationTracker
@Experimental
@Generated
@ThreadSafe
@Immutable
public class Developer
extends Contributor
implements Serializable, InputLocationTracker
Information about one of the committers on this project.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create Developer instances.
- 
Method SummaryModifier and TypeMethodDescriptiongetId()The unique ID of the developer in the SCM.getLocation(Object key) Gets the location of the specified field in the input source.static Developer.BuilderCreates a newDeveloperbuilder instance.static Developer.BuildernewBuilder(boolean withDefaults) Creates a newDeveloperbuilder instance using default values or not.static Developer.BuildernewBuilder(Developer from) Creates a newDeveloperbuilder instance using the specified object as a basis.static Developer.BuildernewBuilder(Developer from, boolean forceCopy) Creates a newDeveloperbuilder instance using the specified object as a basis.static DeveloperCreates a newDeveloperinstance.static DevelopernewInstance(boolean withDefaults) Creates a newDeveloperinstance using default values or not.with()Creates a new builder with this object as the basis.Creates a newDeveloperinstance using the specified email.Creates a newDeveloperinstance using the specified id.Creates a newDeveloperinstance using the specified name.withOrganization(String organization) Creates a newDeveloperinstance using the specified organization.withOrganizationUrl(String organizationUrl) Creates a newDeveloperinstance using the specified organizationUrl.withProperties(Map<String, String> properties) Creates a newDeveloperinstance using the specified properties.withRoles(Collection<String> roles) Creates a newDeveloperinstance using the specified roles.withTimezone(String timezone) Creates a newDeveloperinstance using the specified timezone.Creates a newDeveloperinstance using the specified url.Methods inherited from class org.apache.maven.api.model.ContributorgetEmail, getName, getOrganization, getOrganizationUrl, getProperties, getRoles, getTimezone, getUrl, newBuilder, newBuilder
- 
Method Details- 
getIdThe unique ID of the developer in the SCM.- Returns:
- a String
 
- 
getLocationGets the location of the specified field in the input source.- Specified by:
- getLocationin interface- InputLocationTracker
- Overrides:
- getLocationin class- Contributor
 
- 
withCreates a new builder with this object as the basis.- Overrides:
- within class- Contributor
- Returns:
- a Builder
 
- 
withNameCreates a newDeveloperinstance using the specified name.- Overrides:
- withNamein class- Contributor
- Parameters:
- name- the new- Stringto use
- Returns:
- a Developerwith the specified name
 
- 
withEmailCreates a newDeveloperinstance using the specified email.- Overrides:
- withEmailin class- Contributor
- Parameters:
- email- the new- Stringto use
- Returns:
- a Developerwith the specified email
 
- 
withUrlCreates a newDeveloperinstance using the specified url.- Overrides:
- withUrlin class- Contributor
- Parameters:
- url- the new- Stringto use
- Returns:
- a Developerwith the specified url
 
- 
withOrganizationCreates a newDeveloperinstance using the specified organization.- Overrides:
- withOrganizationin class- Contributor
- Parameters:
- organization- the new- Stringto use
- Returns:
- a Developerwith the specified organization
 
- 
withOrganizationUrlCreates a newDeveloperinstance using the specified organizationUrl.- Overrides:
- withOrganizationUrlin class- Contributor
- Parameters:
- organizationUrl- the new- Stringto use
- Returns:
- a Developerwith the specified organizationUrl
 
- 
withRolesCreates a newDeveloperinstance using the specified roles.- Overrides:
- withRolesin class- Contributor
- Parameters:
- roles- the new- Collection<String>to use
- Returns:
- a Developerwith the specified roles
 
- 
withTimezoneCreates a newDeveloperinstance using the specified timezone.- Overrides:
- withTimezonein class- Contributor
- Parameters:
- timezone- the new- Stringto use
- Returns:
- a Developerwith the specified timezone
 
- 
withPropertiesCreates a newDeveloperinstance using the specified properties.- Overrides:
- withPropertiesin class- Contributor
- Parameters:
- properties- the new- Map<String, String>to use
- Returns:
- a Developerwith the specified properties
 
- 
withIdCreates a newDeveloperinstance using the specified id.- Parameters:
- id- the new- Stringto use
- Returns:
- a Developerwith the specified id
 
- 
newInstanceCreates a newDeveloperinstance. Equivalent tonewInstance( true ).- Returns:
- a new Developer
- See Also:
 
- 
newInstanceCreates a newDeveloperinstance using default values or not. Equivalent tonewBuilder( withDefaults ).build().- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Developer
 
- 
newBuilderCreates a newDeveloperbuilder instance. Equivalent tonewBuilder( true ).- Returns:
- a new Builder
- See Also:
 
- 
newBuilderCreates a newDeveloperbuilder instance using default values or not.- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Builder
 
- 
newBuilderCreates a newDeveloperbuilder instance using the specified object as a basis. Equivalent tonewBuilder( from, false ).- Parameters:
- from- the- Developerinstance to use as a basis
- Returns:
- a new Builder
 
- 
newBuilderCreates a newDeveloperbuilder instance using the specified object as a basis.- Parameters:
- from- the- Developerinstance to use as a basis
- forceCopy- the boolean indicating if a copy should be forced
- Returns:
- a new Builder
 
 
-