poussecafe.doc.PousseCafeDoclet Maven / Gradle / Ivy
package poussecafe.doc;
import java.io.File;
import java.util.HashSet;
import java.util.Locale;
import java.util.NoSuchElementException;
import java.util.Set;
import javax.lang.model.SourceVersion;
import javax.lang.model.element.TypeElement;
import jdk.javadoc.doclet.Doclet;
import jdk.javadoc.doclet.DocletEnvironment;
import jdk.javadoc.doclet.Reporter;
import poussecafe.doc.model.ClassDocRepository;
import poussecafe.doc.model.DocletAccess;
import poussecafe.doc.options.BasePackageOption;
import poussecafe.doc.options.CustomDotExecutableOption;
import poussecafe.doc.options.CustomFdpExecutableOption;
import poussecafe.doc.options.DomainOption;
import poussecafe.doc.options.IncludeGeneratedDateOption;
import poussecafe.doc.options.OutputPathOption;
import poussecafe.doc.options.SourcePathOption;
import poussecafe.doc.options.VersionOption;
import poussecafe.exception.PousseCafeException;
import poussecafe.runtime.Runtime;
public class PousseCafeDoclet implements Doclet {
public PousseCafeDoclet() {
configBuilder = new PousseCafeDocletConfiguration.Builder();
}
private PousseCafeDocletConfiguration.Builder configBuilder;
private Runtime runtime;
@Override
public void init(Locale locale,
Reporter reporter) {
Logger.setRootDoc(reporter);
}
@Override
public String getName() {
return "DDD Documentation";
}
@Override
public Set extends Option> getSupportedOptions() {
Set