Package it.geosolutions.geobatch.unredd.script.reprocess.model

Examples of it.geosolutions.geobatch.unredd.script.reprocess.model.ReprocessRequest


                     * *************************
                     * The reprocessing flow will recompute statistics and charts. it is needed when data in the staging area are
                     * changed; i.e.: - vector data are edited; - chart scripts are modified or inserted; - new statistics are
                     * added. Each doXXX methos manages one of this case
                     */
                    ReprocessRequest request = RequestReader.load(xmlFile);
                    if (request == null) {
                        throw new ActionException(this, "Could not parse input file:" + xmlFile.getName());
                    }

                    if (request instanceof ReprocessLayerRequest) {
View Full Code Here


        // test loading / unmarshalling request
        File reproFile = loadFile("reprocess/reprocessLayer.xml");
        assertNotNull("Error finding file", reproFile);

        ReprocessRequest req = RequestReader.load(reproFile);
        assertNotNull("Error unmarshalling file", req);

        assertTrue(req instanceof ReprocessLayerRequest);
        ReprocessLayerRequest sreq = (ReprocessLayerRequest)req;
        assertEquals("1492", sreq.getYear());
View Full Code Here

        // test loading / unmarshalling request
        File reproFile = loadFile("reprocess/reprocessStats.xml");
        assertNotNull("Error finding file", reproFile);

        ReprocessRequest req = RequestReader.load(reproFile);
        assertNotNull("Error unmarshalling file", req);

        assertTrue(req instanceof ReprocessStatsRequest);
        ReprocessStatsRequest sreq = (ReprocessStatsRequest)req;
        assertEquals(2, sreq.getStatsNames().size());
View Full Code Here

        // test loading / unmarshalling request
        File reproFile = loadFile("reprocess/reprocessChart.xml");
        assertNotNull("Error finding file", reproFile);

        ReprocessRequest req = RequestReader.load(reproFile);
        assertNotNull("Error unmarshalling file", req);

        assertTrue(req instanceof ReprocessChartRequest);
        ReprocessChartRequest sreq = (ReprocessChartRequest)req;
        assertEquals(2, sreq.getChartNames().size());
View Full Code Here

TOP

Related Classes of it.geosolutions.geobatch.unredd.script.reprocess.model.ReprocessRequest

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.