Class MavenDeveloper.Builder
java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenDeveloper.Builder
- Enclosing class:
- MavenDeveloper
Builder for a
MavenDeveloper
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the developer.Set the email address of the developer.Set the ID of the developer.Set the name of the developer.organization
(String organization) Set the organization's name of the developer.organizationUrl
(String organizationUrl) Set the associated organization's URL of the developer.Add a property associated with the developer.Add a role of the developer.Set the timezone associated with the developer.Set the URL of the developer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Set the ID of the developer.- Parameters:
id
- the ID of the developer ornull
- Returns:
- this for method chaining
-
name
Set the name of the developer.- Parameters:
name
- the name of the developer ornull
- Returns:
- this for method chaining
-
email
Set the email address of the developer.- Parameters:
email
- the email address of the developer ornull
- Returns:
- this for method chaining
-
url
Set the URL of the developer.- Parameters:
url
- the URL of the developer ornull
- Returns:
- this for method chaining
-
organization
Set the organization's name of the developer.- Parameters:
organization
- the organization of the developer ornull
- Returns:
- this for method chaining
-
organizationUrl
Set the associated organization's URL of the developer.- Parameters:
organizationUrl
- the URL of the organization ornull
- Returns:
- this for method chaining
-
role
Add a role of the developer.- Parameters:
role
- the role of the developer- Returns:
- this for method chaining
-
timezone
Set the timezone associated with the developer.- Parameters:
timezone
- the timezone that the developer lives in ornull
- Returns:
- this for method chaining
-
property
Add a property associated with the developer.- Parameters:
key
- the appropriate key associated with the propertyvalue
- the value of the property- Returns:
- this for method chaining
-
build
Builds the developer.- Returns:
- the developer
-