summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/main/java/org/openecomp/sdc/be/model/ImportCsarInfo.java
blob: 460a107c896b09cd5232793d909b5465b6d92a24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
package org.openecomp.sdc.be.model;

import java.util.HashMap;
import java.util.Map;
import java.util.PriorityQueue;
import java.util.Queue;

public class ImportCsarInfo {
	String vfResourceName;
	User modifier;
	String csarUUID;
	Map<String, byte[]> csar;
	Map<String, String> createdNodesToscaResourceNames;
	Queue<String> cvfcToCreateQueue;
	
	public ImportCsarInfo(String vfResourceName, User modifier, String csarUUID, Map<String, byte[]> csar){
		this.vfResourceName = vfResourceName;
		this.modifier = modifier;
		this.csarUUID = csarUUID;
		this.csar = csar;
		this.createdNodesToscaResourceNames = new HashMap<>();
		this.cvfcToCreateQueue = new PriorityQueue<>();
	}

	public String getVfResourceName() {
		return vfResourceName;
	}

	public void setVfResourceName(String vfResourceName) {
		this.vfResourceName = vfResourceName;
	}

	public User getModifier() {
		return modifier;
	}

	public void setModifier(User modifier) {
		this.modifier = modifier;
	}

	public String getCsarUUID() {
		return csarUUID;
	}

	public void setCsarUUID(String csarUUID) {
		this.csarUUID = csarUUID;
	}

	public Map<String, byte[]> getCsar() {
		return csar;
	}

	public void setCsar(Map<String, byte[]> csar) {
		this.csar = csar;
	}

	public Map<String, String> getCreatedNodesToscaResourceNames() {
		return createdNodesToscaResourceNames;
	}

	public void setCreatedNodesToscaResourceNames(Map<String, String> createdNodesToscaResourceNames) {
		this.createdNodesToscaResourceNames = createdNodesToscaResourceNames;
	}

	public Queue<String> getCvfcToCreateQueue() {
		return cvfcToCreateQueue;
	}

	public void setCvfcToCreateQueue(Queue<String> cvfcToCreateQueue) {
		this.cvfcToCreateQueue = cvfcToCreateQueue;
	}
	
}