/** * Creates a new instance of {@code AuthorDetail}. * * @param owner current build as owner of this action. * @param detailFactory factory to create detail objects with * @param authorContainer the author to show the details for * @param defaultEncoding the default encoding to be used when reading and parsing files * @param header header to be shown on detail page */ public AuthorDetail(final Run<?, ?> owner, final DetailFactory detailFactory, final Author authorContainer, final String defaultEncoding, final String header) { super(owner, detailFactory, authorContainer.getAnnotations(), defaultEncoding, header, authorContainer.getHierarchy()); this.authorName = authorContainer.getFullName(); this.authorEmail = authorContainer.getEmail(); }