summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/csar/Manifest.java
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2021-03-22 15:33:06 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-03-24 06:59:47 +0000
commitd378c37fbd1ecec7b43394926f1ca32a695e07de (patch)
tree5c8a085f8732f980d871d966ac49361644efa698 /openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/csar/Manifest.java
parenta6ae7294ecd336d7e88f915710b08e2658eaee00 (diff)
Reformat openecomp-be
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Issue-ID: SDC-3449 Change-Id: I13e02322f8e00820cc5a1d85752caaeda9bf10d1
Diffstat (limited to 'openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/csar/Manifest.java')
-rw-r--r--openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/csar/Manifest.java20
1 files changed, 13 insertions, 7 deletions
diff --git a/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/csar/Manifest.java b/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/csar/Manifest.java
index 31b04f0d8b..d87850ac4b 100644
--- a/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/csar/Manifest.java
+++ b/openecomp-be/lib/openecomp-tosca-lib/src/main/java/org/openecomp/sdc/tosca/csar/Manifest.java
@@ -17,7 +17,6 @@
* limitations under the License.
* ============LICENSE_END=========================================================
*/
-
package org.openecomp.sdc.tosca.csar;
import java.io.InputStream;
@@ -29,44 +28,51 @@ import org.openecomp.sdc.be.datatypes.enums.ResourceTypeEnum;
public interface Manifest {
/**
- * This Method will parse manifest, extracting fields mandatory/non-mandatory,
- * if error occurred it's recorded and will be used for deciding if manifest is valid
+ * This Method will parse manifest, extracting fields mandatory/non-mandatory, if error occurred it's recorded and will be used for deciding if
+ * manifest is valid
+ *
* @param is manifest file input stream
*/
void parse(InputStream is);
/**
* Returns if manifest is valid
+ *
* @return true/false
*/
boolean isValid();
/**
* Metadata section of manifest
+ *
* @return
*/
Map<String, String> getMetadata();
/**
* Source section of manifest
+ *
* @return
*/
List<String> getSources();
/**
* Validation errors of manifest
+ *
* @return
*/
List<String> getErrors();
/**
* non mano section of manifest sol004 #4.3.7
+ *
* @return
*/
Map<String, List<String>> getNonManoSources();
/**
* Gets the type based on the metadata of manifest file (VF/PNF)
+ *
* @return enum for type values
*/
Optional<ResourceTypeEnum> getType();
@@ -75,15 +81,15 @@ public interface Manifest {
/**
* Gets the CMS manifest signature if present in manifest
- * @return
- * the CMS manifest signature.
+ *
+ * @return the CMS manifest signature.
*/
Optional<String> getCmsSignature();
/**
* Gets the Map of source path and it correspondent checksum.
- * @return
- * The source and checksum map.
+ *
+ * @return The source and checksum map.
*/
Optional<Map<String, AlgorithmDigest>> getSourceAndChecksumMap();
}