diff options
Diffstat (limited to 'common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/PackageSizeReducer.java')
-rw-r--r-- | common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/PackageSizeReducer.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/PackageSizeReducer.java b/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/PackageSizeReducer.java index 290ca08d00..83fd8fdfbf 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/PackageSizeReducer.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/be/csar/storage/PackageSizeReducer.java @@ -27,6 +27,12 @@ import java.nio.file.Path; */ public interface PackageSizeReducer { + /** + * Reduces the package in the given path based on the package reducer configuration. + * + * @param path the package path + * @return the reduced package in bytes + */ byte[] reduce(Path path); } |