Package org.geoserver.monitor

Examples of org.geoserver.monitor.Filter


        assertEquals("widgets", datas.get(1).getResources().get(0));
    }
   
    @Test
    public void testGetRequestsAdvancedFilter() throws Exception {
        Filter filter = new Filter("path", "/four", Comparison.EQ)
            .or(new Filter("service", "foo", Comparison.EQ).and(
                new Filter("resource", Arrays.asList("widgets"), Comparison.IN)));
       
        List<RequestData> datas = dao.getRequests(new Query().filter(filter));
        assertEquals(2, datas.size());
        assertCovered(datas, 4, 11);
    }
View Full Code Here

TOP

Related Classes of org.geoserver.monitor.Filter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.