public interface AsciidoctorTaskOutputOptions
Asciidoctor conversion output options.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public Set<String> |
backends()The current set of configured Asciidoctor backends. |
|
public void |
copyAllResources()Copies all resources to the output directory. |
|
public void |
copyNoResources()Do not copy any resources to the output directory. |
|
public void |
copyResourcesByBackend(String backendName, File sourceDir, File outputDir, Optional<String> includeLang)Copy resources for a backend name. |
|
public void |
copyResourcesOnlyIf(String backendNames)Copy resources to the output directory only if the backend names matches any of the specified names. |
|
public Set<File> |
getBackendOutputDirectories()Returns a list of all output directories by backend |
|
public Optional<List<String>> |
getCopyResourcesForBackends()List of backends for which to copy resources. |
|
public File |
getOutputDirForBackend(String backendName)Get the output directory for a specific backend. |
|
public File |
getOutputDirForBackend(String backendName, String language)Get the output directory for a specific backend. |
|
public OutputOptions |
getOutputOptions()Access to the underlying OutputOptions. |
The current set of configured Asciidoctor backends.
Copies all resources to the output directory.
Some backends (such as html5) require all resources to be copied to the output directory.
This is the default behaviour for this task.
Do not copy any resources to the output directory.
Some backends (such as pdf) process all resources in place.
Copy resources for a backend name.
backendName - Name of backend for which resources are copiedsourceDir - Source directory of resourcesoutputDir - Final output directory.includeLang - If set also copy resources for this specified languageCopy resources to the output directory only if the backend names matches any of the specified names.
backendNames - List of names for which resources should be copied.Returns a list of all output directories by backend
List of backends for which to copy resources.
null.Get the output directory for a specific backend.
backendName - Name of backendGet the output directory for a specific backend.
backendName - Name of backendlanguage - Language for which sources are being generated.Access to the underlying OutputOptions.