aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src')
-rw-r--r--openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java15
1 files changed, 3 insertions, 12 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java
index a3a76a561b..34177bbcff 100644
--- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java
+++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-api/src/main/java/org/openecomp/core/enrichment/types/ComponentMonitoringUploadInfo.java
@@ -31,30 +31,21 @@ public class ComponentMonitoringUploadInfo {
private Map<MonitoringUploadType, MonitoringArtifactInfo> infoByType = new HashMap<>();
- //todo as part of ATTASDC-4503
-
public MonitoringArtifactInfo getSnmpTrap() {
return infoByType.get(SNMP_TRAP);
}
- public void setSnmpTrap(MonitoringArtifactInfo snmpTrapInfo) {
- infoByType.put(SNMP_TRAP, snmpTrapInfo);
- }
-
public MonitoringArtifactInfo getSnmpPoll() {
return infoByType.get(SNMP_POLL);
}
- public void setSnmpPoll(MonitoringArtifactInfo snmpPollInfo) {
- infoByType.put(SNMP_POLL, snmpPollInfo);
- }
-
public MonitoringArtifactInfo getVesEvent() {
return infoByType.get(VES_EVENTS);
}
- public void setVesEvent(MonitoringArtifactInfo snmpPollInfo) {
- infoByType.put(VES_EVENTS, snmpPollInfo);
+ public void setMonitoringArtifactFile(MonitoringUploadType type,
+ MonitoringArtifactInfo monitoringArtifactInfo) {
+ infoByType.put(type, monitoringArtifactInfo);
}
}