public interface EventUtil
| Modifier and Type | Method and Description |
|---|---|
void |
expandMapValues(Map<String,String> parmMap,
Event event) |
String |
expandParms(String string,
Event event) |
String |
expandParms(String inp,
Event event,
Map<String,Map<String,String>> decode) |
String |
getAssetFieldValue(String parm,
long nodeId)
Helper method.
|
String |
getEventHost(Event event) |
String |
getForeignId(long nodeId)
Retrieve foreign id from the node table of the database given a particular nodeId.
|
String |
getForeignSource(long nodeId)
Retrieve foreign source from the node table of the database given a particular
nodeId.
|
String |
getHardwareFieldValue(String parm,
long nodeId) |
String |
getHostName(int nodeId,
String hostip) |
String |
getIfAlias(long nodeId,
String ipAddr)
Retrieve ifAlias from the snmpinterface table of the database given a particular
nodeId and ipAddr.
|
String |
getNamedParmValue(String string,
Event event) |
String |
getNodeLabel(long nodeId)
Retrieve nodeLabel from the node table of the database given a particular
nodeId.
|
String |
getNodeLocation(long nodeId)
Retrieve nodeLocation from the node table of the database given a particular
nodeId.
|
ExpandableParameterResolver |
getResolver(String token) |
String getHostName(int nodeId, String hostip) throws SQLException
SQLExceptionString getIfAlias(long nodeId, String ipAddr) throws SQLException
nodeId - Node identifieripAddr - Interface IP addressSQLException - if database error encounteredString getAssetFieldValue(String parm, long nodeId)
parm - nodeId - String getForeignId(long nodeId) throws SQLException
nodeId - Node identifierSQLException - if database error encounteredString getForeignSource(long nodeId) throws SQLException
nodeId - Node identifierSQLException - if database error encounteredString getNodeLabel(long nodeId) throws SQLException
nodeId - Node identifierSQLException - if database error encounteredString getNodeLocation(long nodeId) throws SQLException
nodeId - Node identifierSQLException - if database error encounteredExpandableParameterResolver getResolver(String token)
Copyright © 2020. All rights reserved.