diff options
Diffstat (limited to 'common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java')
-rw-r--r-- | common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java b/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java index da06db0e68..0a4f355642 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/ArtifactStorageManager.java @@ -52,6 +52,16 @@ public interface ArtifactStorageManager { * * @return {@code true} if enable, {@code false} otherwise */ - boolean isEnabled(); + default boolean isEnabled() { + return false; + } + /** + * @return Storage Configuration + */ + ArtifactStorageConfig getStorageConfiguration(); + + InputStream get(final ArtifactInfo artifactInfo); + + void delete(ArtifactInfo artifactInfo); } |