public interface AsciidoctorjsGenericComponent
| Modifier and Type | Method and Description |
|---|---|
void |
attributes(java.util.Map<java.lang.String,?> attrs)
Attributes that are specific to the backend.
|
void |
requires(java.lang.String... reqs)
If the backend needs one or more
require entries to be passed to the engine, put it here. |
default void |
usePackage(java.lang.String moduleName,
java.lang.Object version)
Set the package from the NPM repository here.
|
void |
usePackage(java.lang.String scope,
java.lang.String moduleName,
java.lang.Object version)
Set the package from the NPM repository here.
|
void usePackage(java.lang.String scope,
java.lang.String moduleName,
java.lang.Object version)
scope - The package scope. Can be null.moduleName - The package name.version - Something convertible to a string that can provide the version.default void usePackage(java.lang.String moduleName,
java.lang.Object version)
This methoid is meant for packages without scopes.
moduleName - The package name.version - Something convertible to a string that can provide the version.void requires(java.lang.String... reqs)
require entries to be passed to the engine, put it here.reqs - One or more require entriesvoid attributes(java.util.Map<java.lang.String,?> attrs)
attrs - Attributes of which the values are lazy-evaluated.