Examples of JSInstallations


Examples of sos.scheduler.InstallationService.batchInstallationModel.JSInstallations

    }
  }
 
  private void readInstallationFile() throws Exception {
    File installationDefinitionFile = new File("C:\\Dokumente und Einstellungen\\Uwe Risse\\Eigene Dateien\\sos-berlin.com\\jobscheduler.1.3.9\\scheduler_139\\config\\live\\batchAgentInstallation","scheduler_agent_installations.xml");
    JSInstallations jsInstallations = new JSInstallations(installationDefinitionFile);
    jsInstallations.readInstallationDefinitionFile();
    Globals globals = jsInstallations.getInstallations().getGlobals();   
    setText(edGlobalSchedulerId,globals.getSchedulerId());
      edGlobalPort.setText(String.valueOf(globals.getSchedulerPort()));
    setText(edGlobalLicenceKey,globals.getLicence());
    setText(edGlobalAllowedHosts,globals.getLicenceOptions());
    edGlobalFTPPort.setText(String.valueOf(globals.getFtp().getPort()));
    setText(edGlobalFTPUser,globals.getFtp().getUser());
    setText(edGlobalFTPPassword,globals.getFtp().getPassword());
    setText(edGlobalFTPLocalDir,globals.getFtp().getLocalDir());
    setText(edGlobalFTPRemoteDir,globals.getFtp().getRemoteDir());
    setText(edGlobalInstallPath,globals.getInstallPath());
    setText(edGlobalConfigurationPath,globals.getUserPathPanelElement());
      edGlobalSSHPort.setText(String.valueOf(globals.getSsh().getPort()));
    setText(edGlobalSSHUser,globals.getSsh().getUser());
    setText(edGlobalSSHAuthFile,globals.getSsh().getAuthFile());
    setText(edGlobalSSHPassword,globals.getSsh().getPassword());
    setText(edGlobalSSHSudoPassword,globals.getSsh().getSudoPassword());
    
    while (!jsInstallations.eof()) {
      JSinstallation installation = jsInstallations.next();
      }
  }
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.