Class MavenDeveloper.Builder

java.lang.Object
io.spring.initializr.generator.buildsystem.maven.MavenDeveloper.Builder
Enclosing class:
MavenDeveloper

public static class MavenDeveloper.Builder extends Object
Builder for a MavenDeveloper.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • id

      Set the ID of the developer.
      Parameters:
      id - the ID of the developer or null
      Returns:
      this for method chaining
    • name

      public MavenDeveloper.Builder name(String name)
      Set the name of the developer.
      Parameters:
      name - the name of the developer or null
      Returns:
      this for method chaining
    • email

      public MavenDeveloper.Builder email(String email)
      Set the email address of the developer.
      Parameters:
      email - the email address of the developer or null
      Returns:
      this for method chaining
    • url

      public MavenDeveloper.Builder url(String url)
      Set the URL of the developer.
      Parameters:
      url - the URL of the developer or null
      Returns:
      this for method chaining
    • organization

      public MavenDeveloper.Builder organization(String organization)
      Set the organization's name of the developer.
      Parameters:
      organization - the organization of the developer or null
      Returns:
      this for method chaining
    • organizationUrl

      public MavenDeveloper.Builder organizationUrl(String organizationUrl)
      Set the associated organization's URL of the developer.
      Parameters:
      organizationUrl - the URL of the organization or null
      Returns:
      this for method chaining
    • role

      public MavenDeveloper.Builder role(String role)
      Add a role of the developer.
      Parameters:
      role - the role of the developer
      Returns:
      this for method chaining
    • timezone

      public MavenDeveloper.Builder timezone(String timezone)
      Set the timezone associated with the developer.
      Parameters:
      timezone - the timezone that the developer lives in or null
      Returns:
      this for method chaining
    • property

      public MavenDeveloper.Builder property(String key, String value)
      Add a property associated with the developer.
      Parameters:
      key - the appropriate key associated with the property
      value - the value of the property
      Returns:
      this for method chaining
    • build

      public MavenDeveloper build()
      Builds the developer.
      Returns:
      the developer