public abstract class AbstractRegistryStorage extends Object implements RegistryStorage
Constructor and Description |
---|
AbstractRegistryStorage() |
Modifier and Type | Method and Description |
---|---|
void |
createArtifactRule(String artifactId,
RuleType rule,
RuleConfigurationDto config)
Creates an artifact rule for a specific Artifact.
|
boolean |
isAlive()
Is the storage alive?
|
boolean |
isReady()
Is the storage ready?
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createArtifact, createArtifactRuleAsync, createArtifactWithMetadata, createGlobalRule, deleteArtifact, deleteArtifactRule, deleteArtifactRules, deleteArtifactVersion, deleteArtifactVersionMetaData, deleteGlobalRule, deleteGlobalRules, getArtifact, getArtifactIds, getArtifactMetaData, getArtifactMetaData, getArtifactMetaData, getArtifactRule, getArtifactRules, getArtifactVersion, getArtifactVersion, getArtifactVersionMetaData, getArtifactVersions, getGlobalRule, getGlobalRules, searchArtifacts, searchVersions, updateArtifact, updateArtifactMetaData, updateArtifactRule, updateArtifactState, updateArtifactState, updateArtifactVersionMetaData, updateArtifactWithMetadata, updateGlobalRule
public boolean isReady()
RegistryStorage
By default we check if it can access list of global rules.
isReady
in interface RegistryStorage
public boolean isAlive()
RegistryStorage
By default it's true.
isAlive
in interface RegistryStorage
public void createArtifactRule(String artifactId, RuleType rule, RuleConfigurationDto config) throws ArtifactNotFoundException, RuleAlreadyExistsException, RegistryStorageException
RegistryStorage
createArtifactRule
in interface RegistryStorage
ArtifactNotFoundException
RuleAlreadyExistsException
RegistryStorageException
Copyright © 2020 Red Hat. All rights reserved.