public class CMExpUSCDBProcessor extends ProcessorBase implements Processor
| Constructor and Description |
|---|
CMExpUSCDBProcessor(HuaweiM2KProperties props)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSlot(HuaweiM2KDataStore dataStore,
java.lang.String strDeviceId,
Slot slot) |
protected void |
addSubrack(HuaweiM2KDataStore dataStore,
java.lang.String strDeviceId,
Subrack subrack) |
boolean |
isHandled(java.lang.String strFile) |
void |
process(HuaweiM2KDataStore dataStore,
java.lang.String strFile)
Processes the data file
|
addDeviceInfo, addInterfaces, addRackpublic CMExpUSCDBProcessor(HuaweiM2KProperties props)
props - HuaweiM2KProperties instancepublic boolean isHandled(java.lang.String strFile)
public void process(HuaweiM2KDataStore dataStore, java.lang.String strFile) throws ProcessorException
Processorprocess in interface ProcessordataStore - HuaweiM2KDataStore instancestrFile - Absolute path to file to be processedProcessorExceptionprotected void addSlot(HuaweiM2KDataStore dataStore, java.lang.String strDeviceId, Slot slot) throws CollectorException
addSlot in class ProcessorBasedataStore - strDeviceId - slot - CollectorExceptionprotected void addSubrack(HuaweiM2KDataStore dataStore, java.lang.String strDeviceId, Subrack subrack) throws CollectorException
addSubrack in class ProcessorBasedataStore - strDeviceId - subrack - CollectorException