public interface AsciidoctorOutputFormatter extends org.gradle.api.Named, AsciidoctorRequires, HasAttributeProvider, HasDisplayType, CanConfigureTaskInputs
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.provider.Provider<AsciidoctorNamedBackend> |
getBackend()
What this is known to Asciidoctor as the backend.
|
org.gradle.api.file.FileCollection |
getClasspath()
Additional items to add to the classpath when a conversion involving the output formatter is executed.
|
boolean |
getCopyResources()
Whether resource files should be copied to the output directory.
|
default java.util.Optional<org.asciidoctor.gradle.model5.core.DocType> |
getEnforcedDocType()
Indicates that this backend always requires a specific document type and will try to enforce it.
|
getRequiresgetAttributeProvidergetDisplayTypeconfigureTaskInputsorg.gradle.api.provider.Provider<AsciidoctorNamedBackend> getBackend()
It is possible to register more than one output formatter of the same type, but with different settings. The backend name will always be the same in this case.
boolean getCopyResources()
true if resources should be copied.default java.util.Optional<org.asciidoctor.gradle.model5.core.DocType> getEnforcedDocType()
The default is not to enforce a document type.
org.gradle.api.file.FileCollection getClasspath()
The classpath is empty by default.
null to indicate that the formatter does not support additional classpath.