public abstract class DocumentationPagesAttribute
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static com.google.inject.Key<DocumentationPagesAttribute> |
KEY
Key used to access this attribute.
|
| Constructor and Description |
|---|
DocumentationPagesAttribute() |
| Modifier and Type | Method and Description |
|---|---|
static DocumentationPagesAttribute |
create(java.util.List<com.google.api.Page> toplevelPages)
Create this attribute.
|
abstract java.util.List<com.google.api.Page> |
toplevelPages()
Returns the top level pages of the docset.
|
public static final com.google.inject.Key<DocumentationPagesAttribute> KEY
public abstract java.util.List<com.google.api.Page> toplevelPages()
DocumentationUtil.getScopedToplevelPages(com.google.api.tools.framework.model.Model) for that.public static DocumentationPagesAttribute create(java.util.List<com.google.api.Page> toplevelPages)