Class Author
- java.lang.Object
-
- org.hansken.plugin.extraction.api.Author
-
public final class Author extends Object
An author of a certainextraction plugin.Example for creating an author:
Author.builder() .name("John") .email("johndoe@email.com") .organisation("Netherlands Forensic Institute") .build();
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthor.BuilderA builder for anauthor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Author.Builderbuilder()Start creating a newauthor.Stringemail()Get the email address of the author.Stringname()Get the name of the author.Stringorganisation()Get the name of the organisation the author belongs to.
-
-
-
Method Detail
-
builder
public static Author.Builder builder()
Start creating a newauthor.- Returns:
- a builder for an author
-
name
public String name()
Get the name of the author.- Returns:
- the name of the author
-
email
public String email()
Get the email address of the author.- Returns:
- the email address of the author.
-
organisation
public String organisation()
Get the name of the organisation the author belongs to.- Returns:
- the organisation of the author
-
-