public class ModelMappers extends Object
Constructor and Description |
---|
ModelMappers() |
Modifier and Type | Method and Description |
---|---|
static AlarmFeedback |
fromFeedback(org.opennms.integration.api.v1.model.AlarmFeedback feedback) |
static OnmsSeverity |
fromSeverity(org.opennms.integration.api.v1.model.Severity severity) |
static org.opennms.integration.api.v1.model.Alarm |
toAlarm(OnmsAlarm alarm) |
static org.opennms.integration.api.v1.model.InMemoryEvent |
toEvent(Event event) |
static Event |
toEvent(org.opennms.integration.api.v1.model.InMemoryEvent event) |
static org.opennms.integration.api.v1.model.DatabaseEvent |
toEvent(OnmsEvent event) |
static org.opennms.integration.api.v1.model.AlarmFeedback |
toFeedback(AlarmFeedback feedback) |
static org.opennms.integration.api.v1.model.Node |
toNode(OnmsNode node) |
static OnmsTopologyProtocol |
toOnmsTopologyProtocol(org.opennms.integration.api.v1.model.TopologyProtocol protocol) |
static org.opennms.integration.api.v1.model.Severity |
toSeverity(OnmsSeverity severity) |
static org.opennms.integration.api.v1.model.SnmpInterface |
toSnmpInterface(OnmsSnmpInterface snmpInterface) |
static org.opennms.integration.api.v1.model.TopologyProtocol |
toTopologyProtocol(OnmsTopologyProtocol protocol) |
public static org.opennms.integration.api.v1.model.Alarm toAlarm(OnmsAlarm alarm)
public static org.opennms.integration.api.v1.model.InMemoryEvent toEvent(Event event)
public static Event toEvent(org.opennms.integration.api.v1.model.InMemoryEvent event)
public static org.opennms.integration.api.v1.model.DatabaseEvent toEvent(OnmsEvent event)
public static org.opennms.integration.api.v1.model.Node toNode(OnmsNode node)
public static org.opennms.integration.api.v1.model.SnmpInterface toSnmpInterface(OnmsSnmpInterface snmpInterface)
public static org.opennms.integration.api.v1.model.Severity toSeverity(OnmsSeverity severity)
public static org.opennms.integration.api.v1.model.AlarmFeedback toFeedback(AlarmFeedback feedback)
public static AlarmFeedback fromFeedback(org.opennms.integration.api.v1.model.AlarmFeedback feedback)
public static OnmsSeverity fromSeverity(org.opennms.integration.api.v1.model.Severity severity)
public static OnmsTopologyProtocol toOnmsTopologyProtocol(org.opennms.integration.api.v1.model.TopologyProtocol protocol)
public static org.opennms.integration.api.v1.model.TopologyProtocol toTopologyProtocol(OnmsTopologyProtocol protocol)
Copyright © 2021. All rights reserved.