package org.openecomp.sdc.be.components.merge.instance;
-import org.openecomp.sdc.be.model.*;
-
-import java.util.*;
+import org.openecomp.sdc.be.model.ArtifactDefinition;
+import org.openecomp.sdc.be.model.CapabilityDefinition;
+import org.openecomp.sdc.be.model.Component;
+import org.openecomp.sdc.be.model.ComponentInstanceInput;
+import org.openecomp.sdc.be.model.ComponentInstanceInterface;
+import org.openecomp.sdc.be.model.ComponentInstanceProperty;
+import org.openecomp.sdc.be.model.InputDefinition;
+
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Optional;
/**
* Created by chaya on 9/7/2017.
private Component currInstanceNode;
private String origComponentInstId;
private List<ComponentInstanceInterface> origComponentInstanceInterfaces;
+ private Map <String, Integer> componentInstanceDeploymentArtifactsTimeOut;
public DataForMergeHolder() {
origComponentInstanceInputs = new ArrayList<>();
origCompInstDeploymentArtifactsCreatedOnTheInstance = new HashMap<>();
origInstanceCapabilities = new ArrayList<>();
origComponentInstanceInterfaces = new ArrayList<>();
+ componentInstanceDeploymentArtifactsTimeOut = new HashMap<>();
}
List<ArtifactDefinition> getOrigComponentInstanceHeatEnvArtifacts() {
this.origComponentInstId = origComponentInstId;
}
+ void setComponentInstanceDeploymentArtifactsTimeOut(Map<String,Integer> componentInstancesDeploymentArtifacts) {
+ this.componentInstanceDeploymentArtifactsTimeOut = componentInstancesDeploymentArtifacts;
+ }
+
+ public Map<String, Integer> getComponentInstanceDeploymentArtifactsTimeOut() {
+ return componentInstanceDeploymentArtifactsTimeOut;
+ }
+
public List<ComponentInstanceInterface> getOrigComponentInstanceInterfaces() {
return origComponentInstanceInterfaces;
}
public void setOrigComponentInstanceInterfaces(List<ComponentInstanceInterface> origComponentInstanceInterfaces) {
this.origComponentInstanceInterfaces = origComponentInstanceInterfaces;
}
+
}