@groovy.transform.CompileStatic class AbstractAsciidoctorNodeJSTask extends AbstractAsciidoctorTask
Base class for all Asciidoctor tasks using Asciidoctor.js as rendering engine.
| Type | Name and description |
|---|---|
Map<String, Object> |
attributes |
String |
engineName |
| Constructor and description |
|---|
protected AbstractAsciidoctorNodeJSTask
(WorkerExecutor we)Initialises the core an Asciidoctor task |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
attributes(Map m)Add additional asciidoctor attributes. |
|
List<AsciidoctorAttributeProvider> |
getAttributeProviders()Shortcut method to access additional providers of attributes. |
|
Map<String, Object> |
getAttributes()Returns all of the Asciidoctor options. |
|
Set<Configuration> |
getReportableConfigurations()Configurations for which dependencies should be reported. |
|
void |
processAsciidocSources() |
|
void |
setAttributes(Map m)Apply a new set of Asciidoctor attributes, clearing any attributes previously set. |
Initialises the core an Asciidoctor task
we - WorkerExecutor. This is usually injected into the
constructor of the subclass.Add additional asciidoctor attributes.
If set here these options will be used in addition to any global Asciidoctor attributes.
This is equivalent of using asciidoctorjs.attributes.
m - Map with new optionsShortcut method to access additional providers of attributes.
Returns all of the Asciidoctor options.
This is equivalent of using asciidoctorjs.getAttributes
Configurations for which dependencies should be reported.
null.Apply a new set of Asciidoctor attributes, clearing any attributes previously set.
If set here all global Asciidoctor options are ignored within this task.
This is equivalent of using asciidoctorjs.setAttributes.
m - Map with new optionsCopyright © 2013-2024 the original author or authors. All rights reserved.