public abstract class AbstractManagedRepository extends AbstractRepository implements EditableManagedRepository
CRON_DEFINITION, location
Constructor and Description |
---|
AbstractManagedRepository(Locale primaryLocale,
RepositoryType type,
String id,
String name,
RepositoryStorage storage) |
AbstractManagedRepository(RepositoryType type,
String id,
String name,
RepositoryStorage storage) |
Modifier and Type | Method and Description |
---|---|
void |
addActiveReleaseScheme(ReleaseScheme scheme)
Adds an active release scheme.
|
boolean |
blocksRedeployments()
Returns true, if repeated deployments of the same artifact with the same version throws exceptions.
|
void |
clearActiveReleaseSchemes()
Clears all active release schemes.
|
Set<ReleaseScheme> |
getActiveReleaseSchemes()
Returns the release schemes that are active by this repository.
|
ManagedRepositoryContent |
getContent()
Returns the interface to access the contents of this repository.
|
void |
removeActiveReleaseScheme(ReleaseScheme scheme)
Removes an active release scheme from the set.
|
void |
setBlocksRedeployment(boolean blocksRedeployment)
If true, the repository blocks redeployments of artifacts with the same version.
|
void |
setContent(ManagedRepositoryContent content)
Sets the content
|
addAsset, addFailoverLocation, addFeature, clearFailoverLocations, close, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, getCapabilities, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocalPath, getLocation, getName, getName, getPrimaryLocale, getSchedulingDefinition, getStorage, getType, handle, hasIndex, 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
getRequestInfo
close, getCapabilities, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocalPath, getLocation, getName, getName, getSchedulingDefinition, getType, hasIndex, isOpen, isScanned, supportsFeature
registerEventHandler, unregisterEventHandler
addAsset, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, moveAsset, moveAsset, removeAsset, updateLocation, writeData, writeDataToChannel
public AbstractManagedRepository(RepositoryType type, String id, String name, RepositoryStorage storage)
public AbstractManagedRepository(Locale primaryLocale, RepositoryType type, String id, String name, RepositoryStorage storage)
public ManagedRepositoryContent getContent()
ManagedRepository
getContent
in interface ManagedRepository
public void setContent(ManagedRepositoryContent content)
EditableManagedRepository
setContent
in interface EditableManagedRepository
public void setBlocksRedeployment(boolean blocksRedeployment)
EditableManagedRepository
setBlocksRedeployment
in interface EditableManagedRepository
blocksRedeployment
- The flag for blocking redeployments.public boolean blocksRedeployments()
ManagedRepository
blocksRedeployments
in interface ManagedRepository
public Set<ReleaseScheme> getActiveReleaseSchemes()
ManagedRepository
getActiveReleaseSchemes
in interface ManagedRepository
public void addActiveReleaseScheme(ReleaseScheme scheme)
EditableManagedRepository
addActiveReleaseScheme
in interface EditableManagedRepository
scheme
- the scheme to add.public void removeActiveReleaseScheme(ReleaseScheme scheme)
EditableManagedRepository
removeActiveReleaseScheme
in interface EditableManagedRepository
scheme
- the scheme to remove.public void clearActiveReleaseSchemes()
EditableManagedRepository
clearActiveReleaseSchemes
in interface EditableManagedRepository
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.