public abstract class IndexWithBreadcrumbs extends Object implements ResourceIndexer
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexWithBreadcrumbs.ToLowerCase |
| Constructor and Description |
|---|
IndexWithBreadcrumbs(RESTClient client,
ResourceNameResolver nameResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBreadcrumbs(Map<String,Resource> index) |
protected abstract Map<String,Resource> |
createIndexFromEntity(String rootURI,
String entity) |
protected Map<String,Resource> |
createIndexFromPaths(String rootURI,
String rootPath,
String syntax,
String includes) |
Map<String,Resource> |
indexResources(String rootURI)
Indexes resources retrieved from the given root URI
|
Map<String,Resource> |
indexResources(String rootURI,
String rootPath,
String syntax,
String includes)
Indexes resources found in the given root path
|
protected String |
resolveName(String input) |
protected abstract String |
uri(String rootPath) |
public IndexWithBreadcrumbs(RESTClient client, ResourceNameResolver nameResolver)
public Map<String,Resource> indexResources(String rootURI)
ResourceIndexerindexResources in interface ResourceIndexerrootURI - the root URIpublic Map<String,Resource> indexResources(String rootURI, String rootPath, String syntax, String includes)
ResourceIndexerindexResources in interface ResourceIndexerrootURI - the root URIrootPath - the root path of the resources to indexsyntax - the syntax of the resources to index. Can be null or blank.includes - the Ant-like pattern of the paths to index. Can be null or blank.protected Map<String,Resource> createIndexFromPaths(String rootURI, String rootPath, String syntax, String includes)
protected abstract Map<String,Resource> createIndexFromEntity(String rootURI, String entity)
Copyright © 2003–2019. All rights reserved.