public class BasicRemoteRepository extends AbstractRemoteRepository
CRON_DEFINITION, location
Constructor and Description |
---|
BasicRemoteRepository(Locale primaryLocale,
RepositoryType type,
String id,
String name,
RepositoryStorage storage) |
BasicRemoteRepository(String id,
String name,
RepositoryStorage storage) |
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
|
static BasicRemoteRepository |
newFilesystemInstance(String id,
String name,
Path basePath) |
addExtraHeader, addExtraParameter, getCheckPath, getContent, getExtraHeaders, getExtraParameters, getLocalPath, getLoginCredentials, getTimeout, setCheckPath, setContent, setCredentials, setExtraHeaders, setExtraParameters, setLocation, setTimeout, toString
addAsset, addFailoverLocation, addFeature, clearFailoverLocations, close, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocation, getName, getName, getPrimaryLocale, getSchedulingDefinition, getStorage, getType, handle, isOpen, isScanned, moveAsset, moveAsset, registerEventHandler, removeAsset, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setName, setPrimaryLocale, setScanned, setSchedulingDefinition, setStorage, supportsFeature, unregisterEventHandler, updateLocation, writeData, writeDataToChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFailoverLocation, clearFailoverLocations, getPrimaryLocale, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setName, setScanned, setSchedulingDefinition
close, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocation, getName, getName, getSchedulingDefinition, getType, isOpen, isScanned, supportsFeature
registerEventHandler, unregisterEventHandler
addAsset, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, moveAsset, moveAsset, removeAsset, updateLocation, writeData, writeDataToChannel
public BasicRemoteRepository(String id, String name, RepositoryStorage storage)
public BasicRemoteRepository(Locale primaryLocale, RepositoryType type, String id, String name, RepositoryStorage storage)
public boolean hasIndex()
Repository
hasIndex
in interface Repository
hasIndex
in class AbstractRepository
public RepositoryCapabilities getCapabilities()
Repository
getCapabilities
in interface Repository
getCapabilities
in class AbstractRepository
public static BasicRemoteRepository newFilesystemInstance(String id, String name, Path basePath) throws IOException
IOException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.