public class BasicManagedRepository extends AbstractManagedRepository
CRON_DEFINITION, location
Constructor and Description |
---|
BasicManagedRepository(Locale primaryLocale,
RepositoryType type,
String id,
String name,
RepositoryStorage repositoryStorage) |
BasicManagedRepository(String id,
String name,
RepositoryStorage repositoryStorage) |
Modifier and Type | Method and Description |
---|---|
RepositoryCapabilities |
getCapabilities()
Returns the capabilities of the repository implementation.
|
RepositoryRequestInfo |
getRequestInfo()
Returns the request info object, which you can use for gathering information from the web request path.
|
boolean |
hasIndex()
Returns true, if this repository has a index available
|
static BasicManagedRepository |
newFilesystemInstance(String id,
String name,
Path repositoryPath)
Creates a filesystem based repository instance.
|
addActiveReleaseScheme, blocksRedeployments, clearActiveReleaseSchemes, getActiveReleaseSchemes, getContent, removeActiveReleaseScheme, setBlocksRedeployment, setContent
addAsset, addFailoverLocation, addFeature, clearFailoverLocations, close, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocalPath, getLocation, getName, getName, getPrimaryLocale, getSchedulingDefinition, getStorage, getType, handle, isOpen, isScanned, moveAsset, moveAsset, registerEventHandler, removeAsset, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setLocation, setName, setPrimaryLocale, setScanned, setSchedulingDefinition, setStorage, supportsFeature, unregisterEventHandler, updateLocation, writeData, writeDataToChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFailoverLocation, clearFailoverLocations, getPrimaryLocale, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setLocation, setName, setScanned, setSchedulingDefinition
close, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocalPath, getLocation, getName, getName, getSchedulingDefinition, getType, isOpen, isScanned, supportsFeature
registerEventHandler, unregisterEventHandler
addAsset, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, moveAsset, moveAsset, removeAsset, updateLocation, writeData, writeDataToChannel
public BasicManagedRepository(String id, String name, RepositoryStorage repositoryStorage)
public BasicManagedRepository(Locale primaryLocale, RepositoryType type, String id, String name, RepositoryStorage repositoryStorage)
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 RepositoryRequestInfo getRequestInfo()
ManagedRepository
public static BasicManagedRepository newFilesystemInstance(String id, String name, Path repositoryPath) throws IOException
id
- The repository idname
- The name of the repositoryrepositoryPath
- The path to the repositoryIOException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.