Package com.dotcms.enterprise.publishing.timemachine

Examples of com.dotcms.enterprise.publishing.timemachine.TimeMachineConfig


       
       
       
        for(Language lang : langs) {
            try {
                TimeMachineConfig tmconfig = new TimeMachineConfig();
                tmconfig.setUser(APILocator.getUserAPI().getSystemUser());
                tmconfig.setHosts(hosts);
                tmconfig.setLanguage(lang.getId());
                tmconfig.setDestinationBundle("tm_" + d.getTime());
                tmconfig.setIncremental(incremental);
                if(incremental){
                  tmconfig.setId("timeMachineBundle_incremental_" + lang.getId());
                }else{
                  tmconfig.setId("timeMachineBundle_" +d.getTime() + "_" + lang.getId());
                }
               
                list.add(APILocator.getPublisherAPI().publish(tmconfig));
            }
            catch(Exception ex) {
View Full Code Here

TOP

Related Classes of com.dotcms.enterprise.publishing.timemachine.TimeMachineConfig

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.