Package gov.nysenate.openleg.processors

Examples of gov.nysenate.openleg.processors.DataProcessor.push()


                    }
                    else {
                        System.err.println("Unable to push with an empty change log.");
                    }
                }
                process.push(Application.getStorage(), ChangeLogger.getEntries(), services);
            }
            else if (task.equalsIgnoreCase("archive")) {
                process.archive(env.getWorkingDirectory(), env.getArchiveDirectory());
            }
            else {
View Full Code Here


        ArrayList<ServiceBase> services = new ArrayList<ServiceBase>();
        services.add(new Lucene());
        services.add(new Varnish("127.0.0.1", 80));

        DataProcessor process = new DataProcessor();
        process.push(storage, ChangeLogger.getEntries(), services);

        // Add the bill to the unpublished bill list
        UnpublishListManager unpublishListManager = new UnpublishListManager();
        unpublishListManager.addUnpublishedBill(billId + '-' + sessionYear);
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.