summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/sdc/dcae/composition/restmodels/ruleeditor/EventTypesByVersionUI.java
blob: 56ac7d9bc750e70b27ba0c69354238c0f0464285 (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
package org.onap.sdc.dcae.composition.restmodels.ruleeditor;

import java.util.Set;

import com.google.common.collect.ImmutableList;

public class EventTypesByVersionUI {
	
	public static final ImmutableList<String> DEFAULT_EVENTS = ImmutableList.of("commonEventHeader");
	
	private String version;
	private Set<String> eventTypes;

	EventTypesByVersionUI(){}

	public EventTypesByVersionUI(String version, Set<String> eventTypes) {
		super();
		this.version = version;
		this.eventTypes = eventTypes;
	}
	
	public String getVersion() {
		return version;
	}
	
	public Set<String> getEventTypes() {
		return eventTypes;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public void setEventTypes(Set<String> eventTypes) {
		this.eventTypes = eventTypes;
	}
	
}