Examples of ToolsConfigInfoImpl


Examples of com.vmware.vim.binding.impl.vim.vm.ToolsConfigInfoImpl

         @Override
         protected Boolean body() throws Exception {
            if (vm.getConfig() == null || vm.getConfig().getTools() == null
                  || vm.getConfig().getTools().getSyncTimeWithHost() == null
                  || !vm.getConfig().getTools().getSyncTimeWithHost()) {
               ToolsConfigInfo toolsConfigInfo = new ToolsConfigInfoImpl();
               toolsConfigInfo.setSyncTimeWithHost(true);
               ConfigSpec configSpec = new ConfigSpecImpl();
               configSpec.setTools(toolsConfigInfo);
               vm.reconfigure(configSpec);
               logger.info("enabled sync time with host");
               return true;
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.