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, writeDataToChannelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFailoverLocation, clearFailoverLocations, getPrimaryLocale, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setLocation, setName, setScanned, setSchedulingDefinitiongetRequestInfoclose, getCapabilities, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocalPath, getLocation, getName, getName, getSchedulingDefinition, getType, hasIndex, isOpen, isScanned, supportsFeatureregisterEventHandler, unregisterEventHandleraddAsset, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, moveAsset, moveAsset, removeAsset, updateLocation, writeData, writeDataToChannelpublic AbstractManagedRepository(RepositoryType type, String id, String name, RepositoryStorage storage)
public AbstractManagedRepository(Locale primaryLocale, RepositoryType type, String id, String name, RepositoryStorage storage)
public ManagedRepositoryContent getContent()
ManagedRepositorygetContent in interface ManagedRepositorypublic void setContent(ManagedRepositoryContent content)
EditableManagedRepositorysetContent in interface EditableManagedRepositorypublic void setBlocksRedeployment(boolean blocksRedeployment)
EditableManagedRepositorysetBlocksRedeployment in interface EditableManagedRepositoryblocksRedeployment - The flag for blocking redeployments.public boolean blocksRedeployments()
ManagedRepositoryblocksRedeployments in interface ManagedRepositorypublic Set<ReleaseScheme> getActiveReleaseSchemes()
ManagedRepositorygetActiveReleaseSchemes in interface ManagedRepositorypublic void addActiveReleaseScheme(ReleaseScheme scheme)
EditableManagedRepositoryaddActiveReleaseScheme in interface EditableManagedRepositoryscheme - the scheme to add.public void removeActiveReleaseScheme(ReleaseScheme scheme)
EditableManagedRepositoryremoveActiveReleaseScheme in interface EditableManagedRepositoryscheme - the scheme to remove.public void clearActiveReleaseSchemes()
EditableManagedRepositoryclearActiveReleaseSchemes in interface EditableManagedRepositoryCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.