@Override public void visitType(EventType type) { m_currentType = type.getId(); EventType temp = m_report.findOrCreateMachine(m_currentIp).findOrCreateType(m_currentType); m_merger.mergeType(temp, type); super.visitType(type); }
@Override public void visitName(EventName name) { m_currentName = name.getId(); EventName temp = m_report .findOrCreateMachine(m_currentIp) .findOrCreateType(m_currentType) .findOrCreateName(m_currentName); m_merger.mergeName(temp, name); EventName all = m_report .findOrCreateMachine(m_currentIp) .findOrCreateType(m_currentType) .findOrCreateName(Constants.ALL); m_merger.mergeName(all, name); m_merger.mergeName(temp, name); super.visitName(name); }
@Override public void visitRange(Range range) { m_currentRange = range.getValue(); Range temp = m_report .findOrCreateMachine(m_currentIp) .findOrCreateType(m_currentType) .findOrCreateName(m_currentName) .findOrCreateRange(m_currentRange); m_merger.mergeRange(temp, range); Range all = m_report .findOrCreateMachine(m_currentIp) .findOrCreateType(m_currentType) .findOrCreateName(Constants.ALL) .findOrCreateRange(m_currentRange); m_merger.mergeRange(all, range); super.visitRange(range); }