blob: 78de6df68fcae5cfa7f724c62064a6863bd38524 (
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
|
package org.onap.a1pesimulator.service.common;
import java.util.Collection;
import org.onap.a1pesimulator.data.ves.VesEvent;
import org.onap.a1pesimulator.service.ves.OnEventAction;
public abstract class AbstractRanRunnable implements Runnable {
protected VesEvent event;
protected final EventCustomizer eventCustomizer;
protected final Collection<OnEventAction> onEventAction;
protected AbstractRanRunnable(VesEvent event, EventCustomizer eventCustomizer,
Collection<OnEventAction> onEventActions) {
this.event = event;
this.eventCustomizer = eventCustomizer;
this.onEventAction = onEventActions;
}
public void updateEvent(VesEvent event) {
this.event = event;
}
}
|