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