aboutsummaryrefslogtreecommitdiffstats
path: root/distribution-ci/src/main/java/org/openecomp/test/NotificationCallback.java
blob: 247b9a9984c6e6e30a095c4b7a6f6c4ba5c98587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.openecomp.test;

import org.openecomp.sdc.api.IDistributionClient;
import org.openecomp.sdc.api.notification.INotificationData;

public class NotificationCallback extends SimpleCallback{
	INotificationData latestCallbackData;
	public INotificationData getData() {
		return latestCallbackData;
	}
	public NotificationCallback(IDistributionClient client) {
		super(client);
	}
	
	public void activateCallback(INotificationData data) {
		this.latestCallbackData = data;
		super.activateCallback(data);
	}
}