@Experimental @Generated @ThreadSafe @Immutable public class Developer extends Contributor implements Serializable, InputLocationTracker
| Modifier and Type | Class and Description |
|---|---|
static class |
Developer.Builder
Builder class used to create Developer instances.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The unique ID of the developer in the SCM.
|
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input source.
|
static Developer.Builder |
newBuilder()
Creates a new
Developer builder instance. |
static Developer.Builder |
newBuilder(boolean withDefaults)
Creates a new
Developer builder instance using default values or not. |
static Developer.Builder |
newBuilder(Developer from)
Creates a new
Developer builder instance using the specified object as a basis. |
static Developer.Builder |
newBuilder(Developer from,
boolean forceCopy)
Creates a new
Developer builder instance using the specified object as a basis. |
static Developer |
newInstance()
Creates a new
Developer instance. |
static Developer |
newInstance(boolean withDefaults)
Creates a new
Developer instance using default values or not. |
Developer.Builder |
with()
Creates a new builder with this object as the basis.
|
Developer |
withEmail(String email)
Creates a new
Developer instance using the specified email. |
Developer |
withId(String id)
Creates a new
Developer instance using the specified id. |
Developer |
withName(String name)
Creates a new
Developer instance using the specified name. |
Developer |
withOrganization(String organization)
Creates a new
Developer instance using the specified organization. |
Developer |
withOrganizationUrl(String organizationUrl)
Creates a new
Developer instance using the specified organizationUrl. |
Developer |
withProperties(Map<String,String> properties)
Creates a new
Developer instance using the specified properties. |
Developer |
withRoles(Collection<String> roles)
Creates a new
Developer instance using the specified roles. |
Developer |
withTimezone(String timezone)
Creates a new
Developer instance using the specified timezone. |
Developer |
withUrl(String url)
Creates a new
Developer instance using the specified url. |
getEmail, getName, getOrganization, getOrganizationUrl, getProperties, getRoles, getTimezone, getUrl, newBuilder, newBuilderpublic String getId()
Stringpublic InputLocation getLocation(Object key)
getLocation in interface InputLocationTrackergetLocation in class Contributor@Nonnull public Developer.Builder with()
with in class ContributorBuilder@Nonnull public Developer withName(String name)
Developer instance using the specified name.withName in class Contributorname - the new String to useDeveloper with the specified name@Nonnull public Developer withEmail(String email)
Developer instance using the specified email.withEmail in class Contributoremail - the new String to useDeveloper with the specified email@Nonnull public Developer withUrl(String url)
Developer instance using the specified url.withUrl in class Contributorurl - the new String to useDeveloper with the specified url@Nonnull public Developer withOrganization(String organization)
Developer instance using the specified organization.withOrganization in class Contributororganization - the new String to useDeveloper with the specified organization@Nonnull public Developer withOrganizationUrl(String organizationUrl)
Developer instance using the specified organizationUrl.withOrganizationUrl in class ContributororganizationUrl - the new String to useDeveloper with the specified organizationUrl@Nonnull public Developer withRoles(Collection<String> roles)
Developer instance using the specified roles.withRoles in class Contributorroles - the new Collection<String> to useDeveloper with the specified roles@Nonnull public Developer withTimezone(String timezone)
Developer instance using the specified timezone.withTimezone in class Contributortimezone - the new String to useDeveloper with the specified timezone@Nonnull public Developer withProperties(Map<String,String> properties)
Developer instance using the specified properties.withProperties in class Contributorproperties - the new Map<String, String> to useDeveloper with the specified properties@Nonnull public Developer withId(String id)
Developer instance using the specified id.id - the new String to useDeveloper with the specified id@Nonnull public static Developer newInstance()
Developer instance.
Equivalent to newInstance( true ).DevelopernewInstance(boolean)@Nonnull public static Developer newInstance(boolean withDefaults)
Developer instance using default values or not.
Equivalent to newBuilder( withDefaults ).build().withDefaults - the boolean indicating whether default values should be usedDeveloper@Nonnull public static Developer.Builder newBuilder()
Developer builder instance.
Equivalent to newBuilder( true ).BuildernewBuilder(boolean)@Nonnull public static Developer.Builder newBuilder(boolean withDefaults)
Developer builder instance using default values or not.withDefaults - the boolean indicating whether default values should be usedBuilder@Nonnull public static Developer.Builder newBuilder(Developer from)
Developer builder instance using the specified object as a basis.
Equivalent to newBuilder( from, false ).from - the Developer instance to use as a basisBuilder@Nonnull public static Developer.Builder newBuilder(Developer from, boolean forceCopy)
Developer builder instance using the specified object as a basis.from - the Developer instance to use as a basisforceCopy - the boolean indicating if a copy should be forcedBuilderCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.