public class JsmiMibParser extends Object implements MibParser, Serializable
| Constructor and Description | 
|---|
JsmiMibParser()
Instantiates a new JLIBSMI MIB parser. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Events | 
convertMibToEvents(org.jsmiparser.smi.SmiModule module,
                  String ueibase)
Convert MIB to events. 
 | 
DatacollectionGroup | 
getDataCollection()
Gets the data collection. 
 | 
Events | 
getEvents(String ueibase)
Gets the event list. 
 | 
String | 
getFormattedErrors()
Gets the formatted errors. 
 | 
protected Group | 
getGroup(DatacollectionGroup data,
        String groupName,
        String resourceType)
Gets the group. 
 | 
String | 
getMibName()
Gets the MIB name. 
 | 
List<String> | 
getMissingDependencies()
Gets the missing dependencies. 
 | 
List<PrefabGraph> | 
getPrefabGraphs()
Gets the prefab graph templates. 
 | 
protected Event | 
getTrapEvent(org.jsmiparser.smi.Notification trap,
            String ueibase)
Gets the trap event. 
 | 
protected String | 
getTrapEventDescr(org.jsmiparser.smi.Notification trap)
Gets the trap event description. 
 | 
protected String | 
getTrapEventLabel(org.jsmiparser.smi.Notification trap)
Gets the trap event label. 
 | 
protected Logmsg | 
getTrapEventLogmsg(org.jsmiparser.smi.Notification trap)
Gets the trap event LogMsg. 
 | 
protected String | 
getTrapEventUEI(org.jsmiparser.smi.Notification trap,
               String ueibase)
Gets the trap event UEI. 
 | 
protected List<Varbindsdecode> | 
getTrapVarbindsDecode(org.jsmiparser.smi.Notification trap)
Gets the trap varbinds decode. 
 | 
boolean | 
parseMib(File mibFile)
Parses the MIB. 
 | 
void | 
setMibDirectory(File mibDirectory)
Sets the MIB directory. 
 | 
public void setMibDirectory(File mibDirectory)
MibParsersetMibDirectory in interface MibParsermibDirectory - the MIB directorypublic boolean parseMib(File mibFile)
MibParserpublic String getFormattedErrors()
MibParsergetFormattedErrors in interface MibParserpublic List<String> getMissingDependencies()
MibParsergetMissingDependencies in interface MibParserpublic String getMibName()
MibParsergetMibName in interface MibParserpublic Events getEvents(String ueibase)
MibParserpublic DatacollectionGroup getDataCollection()
MibParsergetDataCollection in interface MibParserpublic List<PrefabGraph> getPrefabGraphs()
MibParsergetPrefabGraphs in interface MibParserprotected Group getGroup(DatacollectionGroup data, String groupName, String resourceType)
data - the data collection group objectgroupName - the group nameresourceType - the resource typeprotected Events convertMibToEvents(org.jsmiparser.smi.SmiModule module, String ueibase)
module - the module objectueibase - the UEI baseprotected Event getTrapEvent(org.jsmiparser.smi.Notification trap, String ueibase)
trap - the trap objectueibase - the UEI baseprotected String getTrapEventUEI(org.jsmiparser.smi.Notification trap, String ueibase)
trap - the trap objectueibase - the UEI baseprotected String getTrapEventLabel(org.jsmiparser.smi.Notification trap)
trap - the trap objectprotected Logmsg getTrapEventLogmsg(org.jsmiparser.smi.Notification trap)
trap - the trap objectprotected String getTrapEventDescr(org.jsmiparser.smi.Notification trap)
trap - the trap objectprotected List<Varbindsdecode> getTrapVarbindsDecode(org.jsmiparser.smi.Notification trap)
trap - the trap objectCopyright © 2020. All rights reserved.