Class Author.AuthorBuilder

java.lang.Object
org.ivoa.dm.tool.Author.AuthorBuilder
Enclosing class:
Author

public static class Author.AuthorBuilder extends Object
A builder class for Author, mainly for use in the functional builder pattern.
  • Field Details

    • name

      public String name
      Name of the author.
    • email

      public String email
      Contact email address for the author.
    • role

      public String role
      Role of the author; default maintainer.
    • github

      public String github
      GitHub username .
    • gitlab

      public String gitlab
      GitLab username .
    • orcid

      public String orcid
      ORCID identity.
    • affiliation

      public String affiliation
      Affiliation .
  • Constructor Details

    • AuthorBuilder

      public AuthorBuilder()
  • Method Details

    • create

      public Author create()
      create a Author from this builder.
      Returns:
      an object initialized from the builder.