public class IndexFromConfluence extends Object implements ResourceIndexer
Constructor and Description |
---|
IndexFromConfluence() |
IndexFromConfluence(RESTClient client) |
IndexFromConfluence(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
Map<String,Resource> |
indexResources(String rootURI)
Indexes resources retrieved from the given root URI
|
protected Map<String,Resource> |
indexResources(String rootURI,
String includePattern) |
Map<String,Resource> |
indexResources(String rootURI,
String rootPath,
String syntax,
String includes)
Indexes resources found in the given root path
|
public IndexFromConfluence()
public IndexFromConfluence(RESTClient client)
public Map<String,Resource> indexResources(String rootURI)
ResourceIndexer
indexResources
in interface ResourceIndexer
rootURI
- the root URIpublic Map<String,Resource> indexResources(String rootURI, String rootPath, String syntax, String includes)
ResourceIndexer
indexResources
in interface ResourceIndexer
rootURI
- 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.Copyright © 2003-2014. All Rights Reserved.