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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create Developer instances. -
Method Summary
Modifier and TypeMethodDescriptiongetId()The unique ID of the developer in the SCM.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.toString()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.Contributor
getEmail, getLocation, getName, getOrganization, getOrganizationUrl, getProperties, getRoles, getTimezone, getUrl, newBuilder, newBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.api.model.InputLocationTracker
getLocation
-
Method Details
-
getId
The unique ID of the developer in the SCM.- Returns:
- a
String
-
with
Creates a new builder with this object as the basis.- Overrides:
within classContributor- Returns:
- a
Builder
-
withName
Creates a newDeveloperinstance using the specified name.- Overrides:
withNamein classContributor- Parameters:
name- the newStringto use- Returns:
- a
Developerwith the specified name
-
withEmail
Creates a newDeveloperinstance using the specified email.- Overrides:
withEmailin classContributor- Parameters:
email- the newStringto use- Returns:
- a
Developerwith the specified email
-
withUrl
Creates a newDeveloperinstance using the specified url.- Overrides:
withUrlin classContributor- Parameters:
url- the newStringto use- Returns:
- a
Developerwith the specified url
-
withOrganization
Creates a newDeveloperinstance using the specified organization.- Overrides:
withOrganizationin classContributor- Parameters:
organization- the newStringto use- Returns:
- a
Developerwith the specified organization
-
withOrganizationUrl
Creates a newDeveloperinstance using the specified organizationUrl.- Overrides:
withOrganizationUrlin classContributor- Parameters:
organizationUrl- the newStringto use- Returns:
- a
Developerwith the specified organizationUrl
-
withRoles
Creates a newDeveloperinstance using the specified roles.- Overrides:
withRolesin classContributor- Parameters:
roles- the newCollection<String>to use- Returns:
- a
Developerwith the specified roles
-
withTimezone
Creates a newDeveloperinstance using the specified timezone.- Overrides:
withTimezonein classContributor- Parameters:
timezone- the newStringto use- Returns:
- a
Developerwith the specified timezone
-
withProperties
Creates a newDeveloperinstance using the specified properties.- Overrides:
withPropertiesin classContributor- Parameters:
properties- the newMap<String, String>to use- Returns:
- a
Developerwith the specified properties
-
withId
Creates a newDeveloperinstance using the specified id.- Parameters:
id- the newStringto use- Returns:
- a
Developerwith the specified id
-
newInstance
Creates a newDeveloperinstance. Equivalent tonewInstance(true).- Returns:
- a new
Developer - See Also:
-
newInstance
Creates 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
-
newBuilder
Creates a newDeveloperbuilder instance. Equivalent tonewBuilder(true).- Returns:
- a new
Builder - See Also:
-
newBuilder
Creates a newDeveloperbuilder instance using default values or not.- Parameters:
withDefaults- the boolean indicating whether default values should be used- Returns:
- a new
Builder
-
newBuilder
Creates a newDeveloperbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
from- theDeveloperinstance to use as a basis- Returns:
- a new
Builder
-
newBuilder
Creates a newDeveloperbuilder instance using the specified object as a basis.- Parameters:
from- theDeveloperinstance to use as a basisforceCopy- the boolean indicating if a copy should be forced- Returns:
- a new
Builder
-
toString
- Overrides:
toStringin classContributor- See Also:
-