public abstract class IndexManager
extends java.lang.Object
Index instances.| Constructor and Description | 
|---|
IndexManager()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract void | 
addIndexer(java.lang.Class<? extends Indexer> indexer)
Deprecated. 
 
Indexer implementations must be registered through the extension manifest hook 
 | 
abstract void | 
addIndexer(java.lang.Class<? extends Node> nodeClass,
          java.lang.Class<? extends Indexer> indexer)
Deprecated. 
 
Indexer implementations must be registered through the extension manifest hook 
 | 
abstract Index | 
getIndex(Project project)
Deprecated. 
 
 | 
abstract Index | 
getIndex(Project project,
        ContentSet content)
Deprecated. 
 
 | 
abstract Index | 
getIndex(Project project,
        java.net.URL url)
Deprecated. 
 
 | 
abstract Index | 
getIndex(Project project,
        URLPath path)
Deprecated. 
 
 | 
abstract Index | 
getIndex(Workspace workspace)
Get the index for the application content. 
 | 
abstract Index | 
getIndex(Workspace workspace,
        ContentSet content)
Get the index for the given  
ContentSet in the application content. | 
abstract Index | 
getIndex(Workspace workspace,
        Project project)
Get the index for the given project. 
 | 
abstract Index | 
getIndex(Workspace workspace,
        Project project,
        ContentSet content)
Get the index for the given  
ContentSet in the scope of the given
 project. | 
abstract Index | 
getIndex(Workspace workspace,
        Project project,
        FileSet fileSet)
Get the index for the given  
FileSet in the scope of the given
 project. | 
abstract Index | 
getIndex(Workspace workspace,
        Project project,
        Path path)
Get the index for the given  
Path in the scope of the given
 project. | 
abstract Index | 
getIndex(Workspace workspace,
        Project project,
        java.net.URL url)
Get the index for the given URL in the scope of the given project. 
 | 
abstract Index | 
getIndex(Workspace workspace,
        Project project,
        URLPath path)
Get the index for the given  
URLPath in the scope of the given
 project. | 
abstract Index | 
getIndex(Workspace workspace,
        java.net.URL url)
Get the index for the given URL in the scope of the given workspace. 
 | 
abstract Index | 
getIndex(Workspace workspace,
        URLPath path)
Get the index for the given  
URLPath in the scope of the given
 workspace. | 
static IndexManager | 
getIndexManager()
Get the  
IndexManager implementation. | 
public static IndexManager getIndexManager()
IndexManager implementation.IndexManager implementationpublic abstract Index getIndex(Workspace workspace)
Index.release() when they are finished with
 this index.workspace - the application workspacepublic abstract Index getIndex(Workspace workspace, ContentSet content)
ContentSet in the application content.
 It is the caller's responsibility to call Index.release() when
 they are finished with this index.workspace - the application workspacecontent - the content setpublic abstract Index getIndex(Workspace workspace, URLPath path)
URLPath in the scope of the given
 workspace.  This can be used, for example, to index an application
 library.  Note that this method should not be used to index
 paths from an application content set, as doing so would ignore the
 filters from the content set.  This can result in far more files being
 indexed than is necessary.  For application content sets, use
 #getIndex(Workspace,ContentSet).  It is the caller's
 responsibility to call Index.release() when they are finished with
 this index.workspace - the application workspacepath - the URL pathpublic abstract Index getIndex(Workspace workspace, java.net.URL url)
#getIndex(Workspace,ContentSet).  It is the caller's
 responsibility to call Index.release() when they are finished with
 this index.workspace - the workspaceurl - the URLpublic abstract Index getIndex(Workspace workspace, Project project)
Index.release() when they are
 finished with this index.workspace - the workspaceproject - the projectpublic abstract Index getIndex(Workspace workspace, Project project, ContentSet content)
ContentSet in the scope of the given
 project.  This can be used, for example, to get an index for a subset of
 the project content.  It is the caller's responsibility to call
 Index.release() when they are finished with this index.workspace - the workspaceproject - the projectcontent - the content setpublic abstract Index getIndex(Workspace workspace, Project project, URLPath path)
URLPath in the scope of the given
 project.  This can be used, for example, to index a library used by a
 project.  Note that this method should not be used to index
 paths from a content set, as doing so would ignore the filters from the
 content set.  This can result in far more files being indexed than is
 necessary.  For content sets, use #getIndex(Project,ContentSet).
 It is the caller's responsibility to call Index.release() when they
 are finished with this index.workspace - the workspaceproject - the projectpath - the URL pathpublic abstract Index getIndex(Workspace workspace, Project project, Path path)
Path in the scope of the given
 project.  It is the caller's responsibility to call Index.release()
 when they are finished with this index.workspace - the workspaceproject - the projectpath - the pathpublic abstract Index getIndex(Workspace workspace, Project project, FileSet fileSet)
FileSet in the scope of the given
 project.  It is the caller's responsibility to call Index.release()
 when they are finished with this index.workspace - the workspaceproject - the projectfileSet - the file setpublic abstract Index getIndex(Workspace workspace, Project project, java.net.URL url)
#getIndex(Project,ContentSet).  It is the caller's
 responsibility to call Index.release() when they are finished with
 this index.workspace - the workspaceproject - the projecturl - the URL@Deprecated public abstract Index getIndex(Project project)
getIndex(Workspace,Project).Index.release() when they are
 finished with this index.project - the project@Deprecated public abstract Index getIndex(Project project, ContentSet content)
getIndex(Workspace,Project,ContentSet).ContentSet in the scope of the given
 project.  This can be used, for example, to get an index for a subset of
 the project content.  It is the caller's responsibility to call
 Index.release() when they are finished with this index.project - the projectcontent - the content set@Deprecated public abstract Index getIndex(Project project, URLPath path)
getIndex(Workspace,Project,URLPath).URLPath in the scope of the given
 project.  This can be used, for example, to index a library used by a
 project.  Note that this method should not be used to index
 paths from a content set, as doing so would ignore the filters from the
 content set.  This can result in far more files being indexed than is
 necessary.  For content sets, use #getIndex(Project,ContentSet).
 It is the caller's responsibility to call Index.release() when they
 are finished with this index.project - the projectpath - the URL path@Deprecated public abstract Index getIndex(Project project, java.net.URL url)
getIndex(Workspace,Project,URL).#getIndex(Project,ContentSet).  It is the caller's
 responsibility to call Index.release() when they are finished with
 this index.project - the projecturl - the URL@Deprecated public abstract void addIndexer(java.lang.Class<? extends Indexer> indexer)
Indexer class which will be called for all files being
 indexed.indexer - the Indexer class to be added@Deprecated public abstract void addIndexer(java.lang.Class<? extends Node> nodeClass, java.lang.Class<? extends Indexer> indexer)
Indexer class for files with the given
 Node type.  Note that multiple indexers can
 be added for a given file type.  They will be called in the order they
 were added.nodeClass - the Node subclassindexer - the Indexer class to be added