@Test public void testUEI() { List<UeiMatch> ueiList = m_factory.getUeiList().getUeiMatchCollection(); UeiMatch uei = ueiList.get(0); Assert.assertEquals("substr", uei.getMatch().getType()); Assert.assertEquals("CRISCO", uei.getMatch().getExpression()); Assert.assertEquals("uei.opennms.org/tests/syslogd/substrUeiRewriteTest", uei.getUei()); uei = ueiList.get(1); Assert.assertEquals("regex", uei.getMatch().getType()); Assert.assertEquals("foo: (\\d+) out of (\\d+) tests failed for (\\S+)$", uei.getMatch().getExpression()); Assert.assertEquals("uei.opennms.org/tests/syslogd/regexUeiRewriteTest", uei.getUei()); }
public synchronized UeiList getUeiList() { return m_config.getUeiList(); }
SyslogdConfigFactory implements SyslogdConfig { public synchronized UeiList getUeiList() { return m_config.getUeiList(); } }
SyslogdConfigFactory implements SyslogdConfig { public synchronized UeiList getUeiList() { return m_config.getUeiList(); } private  SyslogdConfigFactory(String configFile);  SyslogdConfigFactory(InputStream stream); }
SyslogdConfigFactory implements SyslogdConfig { public synchronized UeiList getUeiList() { return m_config.getUeiList(); } private  SyslogdConfigFactory(String configFile);  SyslogdConfigFactory(InputStream stream); static synchronized void init(); static synchronized void reload(); static synchronized SyslogdConfig getInstance(); static synchronized void setInstance(SyslogdConfig config); synchronized int getSyslogPort(); synchronized String getListenAddress(); synchronized boolean getNewSuspectOnMessage(); synchronized String getForwardingRegexp(); synchronized int getMatchingGroupHost(); synchronized int getMatchingGroupMessage(); synchronized String getParser(); synchronized UeiList getUeiList(); synchronized HideMessage getHideMessages(); synchronized String getDiscardUei(); }
SyslogdConfigFactory implements SyslogdConfig { public synchronized UeiList getUeiList() { return m_config.getUeiList(); } private  SyslogdConfigFactory(String configFile);  SyslogdConfigFactory(InputStream stream); static synchronized void init(); static synchronized void reload(); static synchronized SyslogdConfig getInstance(); static synchronized void setInstance(SyslogdConfig config); synchronized int getSyslogPort(); synchronized String getListenAddress(); synchronized boolean getNewSuspectOnMessage(); synchronized String getForwardingRegexp(); synchronized int getMatchingGroupHost(); synchronized int getMatchingGroupMessage(); synchronized String getParser(); synchronized UeiList getUeiList(); synchronized HideMessage getHideMessages(); synchronized String getDiscardUei();  }