public class BasicRemoteRepository extends AbstractRemoteRepository
Modifier and Type | Field and Description |
---|---|
(package private) static StandardCapabilities |
CAPABILITIES |
(package private) IndexCreationFeature |
indexCreationFeature |
(package private) org.slf4j.Logger |
log |
(package private) RemoteIndexFeature |
remoteIndexFeature |
CRON_DEFINITION, featureMap, repositoryBase, schedulingDefinition
Constructor and Description |
---|
BasicRemoteRepository(Locale primaryLocale,
RepositoryType type,
String id,
String name,
Path basePath) |
BasicRemoteRepository(String id,
String name,
Path basePath) |
Modifier and Type | Method and Description |
---|---|
RepositoryCapabilities |
getCapabilities()
Returns the capabilities of the repository implementation.
|
boolean |
hasIndex()
Returns true, if this repository has a index available
|
private void |
initFeatures() |
addExtraHeader, addExtraParameter, getCheckPath, getContent, getExtraHeaders, getExtraParameters, getLocalPath, getLoginCredentials, getTimeout, setCheckPath, setContent, setCredentials, setExtraHeaders, setExtraParameters, setTimeout, toString
addFailoverLocation, addFeature, addListener, clearFailoverLocations, clearListeners, close, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocation, getName, getName, getPrimaryLocale, getSchedulingDefinition, getType, isScanned, raise, removeFailoverLocation, removeListener, setBaseUri, setDescription, setIndexingContext, setLayout, setLocation, setName, setPrimaryLocale, setScanned, setSchedulingDefinition, supportsFeature
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFailoverLocation, clearFailoverLocations, getPrimaryLocale, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setLocation, setName, setScanned, setSchedulingDefinition
close, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocation, getName, getName, getSchedulingDefinition, getType, isScanned, supportsFeature
addListener, clearListeners, removeListener
org.slf4j.Logger log
RemoteIndexFeature remoteIndexFeature
IndexCreationFeature indexCreationFeature
static final StandardCapabilities CAPABILITIES
public BasicRemoteRepository(String id, String name, Path basePath)
public BasicRemoteRepository(Locale primaryLocale, RepositoryType type, String id, String name, Path basePath)
private void initFeatures()
public boolean hasIndex()
Repository
hasIndex
in interface Repository
hasIndex
in class AbstractRepository
public RepositoryCapabilities getCapabilities()
Repository
getCapabilities
in interface Repository
getCapabilities
in class AbstractRepository
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.