Class ArtifactStore
java.lang.Object
com.netflix.spinnaker.kork.artifacts.artifactstore.ArtifactStore
- All Implemented Interfaces:
ArtifactStoreGetter,ArtifactStoreStorer
ArtifactStore allows for different types of artifact storage to be used during runtime
-
Constructor Summary
ConstructorsConstructorDescriptionArtifactStore(ArtifactStoreGetter artifactStoreGetter, ArtifactStoreStorer artifactStoreStorer) -
Method Summary
Modifier and TypeMethodDescriptionget(ArtifactReferenceURI uri, ArtifactDecorator... decorators) get is used to return an artifact with some id, while also decorating that artifact with any necessary fields needed which should be then be returned by the artifact store.static voidsetInstance(ArtifactStore storage) Store an artifact in the artifact store
-
Constructor Details
-
ArtifactStore
public ArtifactStore(ArtifactStoreGetter artifactStoreGetter, ArtifactStoreStorer artifactStoreStorer)
-
-
Method Details
-
store
Store an artifact in the artifact store- Specified by:
storein interfaceArtifactStoreStorer
-
get
get is used to return an artifact with some id, while also decorating that artifact with any necessary fields needed which should be then be returned by the artifact store.- Specified by:
getin interfaceArtifactStoreGetter
-
setInstance
-