public class BasicManagedRepository extends AbstractManagedRepository
Modifier and Type | Field and Description |
---|---|
(package private) ArtifactCleanupFeature |
artifactCleanupFeature |
(package private) static StandardCapabilities |
CAPABILITIES |
(package private) org.slf4j.Logger |
log |
(package private) StagingRepositoryFeature |
stagingRepositoryFeature |
CRON_DEFINITION, featureMap, repositoryBase, schedulingDefinition
Constructor and Description |
---|
BasicManagedRepository(Locale primaryLocale,
RepositoryType type,
String id,
String name,
Path basePath) |
BasicManagedRepository(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() |
addActiveReleaseScheme, blocksRedeployments, clearActiveReleaseSchemes, getActiveReleaseSchemes, getContent, removeActiveReleaseScheme, setBlocksRedeployment, setContent
addFailoverLocation, addFeature, addListener, clearFailoverLocations, clearListeners, close, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocalPath, 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, 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, isScanned, supportsFeature
addListener, clearListeners, removeListener
org.slf4j.Logger log
ArtifactCleanupFeature artifactCleanupFeature
StagingRepositoryFeature stagingRepositoryFeature
static final StandardCapabilities CAPABILITIES
public BasicManagedRepository(String id, String name, Path basePath)
public BasicManagedRepository(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.