re base code
[sdc.git] / asdctool / src / main / java / org / openecomp / sdc / asdctool / impl / validator / tasks / artifacts / ArtifactsVertexResult.java
1 package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
2
3 import org.openecomp.sdc.asdctool.impl.validator.utils.VertexResult;
4
5 import java.util.HashSet;
6 import java.util.Set;
7
8 /**
9  * Created by chaya on 7/25/2017.
10  */
11 public class ArtifactsVertexResult extends VertexResult{
12     Set<String> notFoundArtifacts = new HashSet<>();
13
14     public ArtifactsVertexResult() {
15
16     }
17
18     public ArtifactsVertexResult(boolean status) {
19         super(status);
20     }
21
22     public void addNotFoundArtifact(String artifactId) {
23         notFoundArtifacts.add(artifactId);
24     }
25
26     @Override
27     public String getResult() {
28         return notFoundArtifacts.toString();
29     }
30 }