org.nuxeo.ecm.core.search.api.client.indexing.resources
Class AbstractIndexableResource
java.lang.Object
org.nuxeo.ecm.core.search.api.client.indexing.resources.AbstractIndexableResource
- All Implemented Interfaces:
- Serializable, IndexableResource
- Direct Known Subclasses:
- AbstractNXCoreIndexableResource, AuditIndexableResourceImpl
public abstract class AbstractIndexableResource
- extends Object
- implements IndexableResource
Abstract indexable resource.
- Author:
- Julien Anguenot
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
configuration
protected IndexableResourceConf configuration
AbstractIndexableResource
protected AbstractIndexableResource()
AbstractIndexableResource
protected AbstractIndexableResource(String name,
IndexableResourceConf configuration)
getName
public String getName()
- Description copied from interface:
IndexableResource
- Returns the resource configuration name.
- Specified by:
getName in interface IndexableResource
- Returns:
- the resource name.
getConfiguration
public IndexableResourceConf getConfiguration()
- Description copied from interface:
IndexableResource
- Returns this instance bound configuration.
- Specified by:
getConfiguration in interface IndexableResource
- Returns:
- an IndexableResourceConf instance.
isBoundToIndexingThread
protected boolean isBoundToIndexingThread()
login
protected void login()
logout
protected void logout()
computeAcp
public ACP computeAcp()
- Description copied from interface:
IndexableResource
- Computes an
ACP for the given resource.
The returned value applies to all the resources that may be
associated with the present one in an IndexableResources.
Confidence in the validity of said value must be as strong as it gets.
The counterpart is that the caller must interpret null
return values as a lack of info from this and
perform other computations.
- Specified by:
computeAcp in interface IndexableResource
- Returns:
- null, which encourages the caller to continue investigating.
Copyright ? 2007 Nuxeo SAS. All Rights Reserved.