@groovy.transform.CompileStatic @groovy.transform.ToString(includeNames: true, includeFields: true, includes: name,projectPath) class DefaultDocumentationEntity extends Object implements DocumentationEntity
Working class for defining internal documentation
| Type | Name and description |
|---|---|
String |
entryPoint |
String |
section |
DocumentationType |
type |
| Constructor and description |
|---|
DefaultDocumentationEntity
(Project project, TaskProvider<?> task, DocumentationType type) |
DefaultDocumentationEntity
(Project project, String alias, DocumentationType type) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
String |
getEntryPoint()The entrypoint for the specific documentation |
|
String |
getNavsEntryRelativePath()Get navigation relative path for placing a description of the Navigation entry |
|
String |
getPrivatePath()A subpath that distinguised these documents from all others |
|
String |
getRelativePath()Get relative path for placing documentation. |
|
String |
getSection()Name of section. |
|
String |
getTitle()Reads the title of the documentation |
|
void |
setEntryPoint(String ep)Sets the entrypoint for a set of internal documentation. |
|
void |
setEntryPoint(Provider<String> ep)Sets the entrypoint in a lazy way. |
|
void |
setSection(String section)Set a different section for the documentation set. |
|
void |
setTitleProvider(java.util.concurrent.Callable<String> title)Sets the method that will provide a title for the specific set of internal documentation. |
|
void |
setTitleProvider(Provider<String> title)Sets the method that will provide a title for the specific set of internal documentation. |
The entrypoint for the specific documentation
Get navigation relative path for placing a description of the Navigation entry
A subpath that distinguised these documents from all others
Get relative path for placing documentation.
Name of section.
nullReads the title of the documentation
Sets the entrypoint for a set of internal documentation.
ep - Entrypoint relative path. COUld be something as simple as index.htmlSets the entrypoint in a lazy way.
ep - Provider to an entrypointSet a different section for the documentation set.
section - Section nameSets the method that will provide a title for the specific set of internal documentation.
title - Title provider.Groovy Documentation