Package io.github.sandydunlop.markista.doclet
Class MarkdownDoclet
java.lang.Object
io.github.sandydunlop.markista.doclet.MarkdownDoclet
All Implemented Interfaces:
Doclet
Nested Class Summary
Modifier and Type | Class | Description |
---|---|---|
abstract | MarkdownDoclet.Option | A base class for declaring options. |
Field Summary
Modifier and Type | Field | Description |
---|---|---|
private String | outputDirectory | |
private final Set<MarkdownDoclet.Option> | options | |
private boolean | documentPrivateMembers | |
private boolean | createExternalLinks | |
private static final boolean | OK | |
private static final boolean | FAILED |
Constructor Summary
Constructor | Description |
---|---|
MarkdownDoclet() | The default constructor, does nothing. |
Method Summary
Modifier and Type | Method | Description |
---|---|---|
boolean | run(DocletEnvironment environment) | |
static void | main(String[] args) | |
void | init(Locale locale, Reporter reporter) | Initializes the doclet. |
SourceVersion | getSupportedSourceVersion() | |
Set<? extends MarkdownDoclet.Option> | getSupportedOptions() | |
String | getName() |
Method Details
run
boolean run(DocletEnvironment environment)
Returns:
[true if completed without errors, false if errors occurred.]
main
static void main(String[] args)
init
void init(Locale locale, Reporter reporter)
Initializes the doclet.
Parameters:
locale
- Initializes the doclet.
reporter
- Initializes the doclet.
getSupportedSourceVersion
SourceVersion getSupportedSourceVersion()
getSupportedOptions
Set<? extends MarkdownDoclet.Option> getSupportedOptions()
getName
String getName()