public abstract class MeasurementsHelper extends Object
MeasurementDataSource
.Modifier and Type | Method and Description |
---|---|
static String |
getInterfaceDescriptor(String snmpifname,
String snmpifdescr,
String snmpphysaddr)
Returns the description of the interface (e.g.
|
static String |
getNodeOrNodeSourceDescriptor(String nodeId,
String foreignSource,
String foreignId)
Returns the descriptor of the node or node source, depending on the input parameters (e.g.
|
static SpringHelper |
getSpringHelper() |
static boolean |
isRunInOpennmsJvm() |
static String |
marshal(QueryRequest queryRequest) |
static QueryRequest |
unmarshal(String query) |
public static String getInterfaceDescriptor(String snmpifname, String snmpifdescr, String snmpphysaddr)
snmpifname
- snmpifdescr
- snmpphysaddr
- public static String getNodeOrNodeSourceDescriptor(String nodeId, String foreignSource, String foreignId)
nodeId
- foreignSource
- foreignId
- public static boolean isRunInOpennmsJvm()
public static SpringHelper getSpringHelper()
public static QueryRequest unmarshal(String query) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRException
public static String marshal(QueryRequest queryRequest) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRException
Copyright © 2021. All rights reserved.