public class PdeSourcesIndexer extends java.lang.Object implements NodeIndexer
Artifact
with name
"...-sources.jar"Constructor and Description |
---|
PdeSourcesIndexer() |
Modifier and Type | Method and Description |
---|---|
void |
index(Node sourcesNode)
Adds the metadata.
|
protected void |
packageSourcesAsPdeSource(Node sourcesNode) |
java.lang.Boolean |
support(java.lang.String path)
Whether the node at this path will be supported.
|
public java.lang.Boolean support(java.lang.String path)
NodeIndexer
EventListener
before the node is loaded, and would apply on
information contained in the path / file name: file extension, base path,
etc. If the node needs to be loaded, the recommended approach is to
return true
here and wait for index to be called, possibly
returning without processing if the node should not be indexed. While
not strictly a requirement, this avoids to open sessions in the indexer,
centralizing such tasks in the caller.support
in interface NodeIndexer
public void index(Node sourcesNode)
NodeIndexer
index
in interface NodeIndexer
protected void packageSourcesAsPdeSource(Node sourcesNode)
Copyright © 2007–2020. All rights reserved.