| | |
| | | public void finishClicked(final WizardStep cStep, final QuickSetup qs) { |
| | | if (cStep == Step.REVIEW) { |
| | | updateUserDataForReviewPanel(qs); |
| | | qs.launchInstallation(); |
| | | qs.launch(); |
| | | qs.setCurrentStep(Step.PROGRESS); |
| | | } else { |
| | | throw new IllegalStateException( |
| | |
| | | if (installStatus.isInstalled() && !forceToDisplaySetup) { |
| | | p = dlg.getInstalledPanel(); |
| | | } else { |
| | | p = new FramePanel(dlg.getStepsPanel(), |
| | | dlg.getCurrentStepPanel(), |
| | | dlg.getButtonsPanel()); |
| | | p = super.createFramePanel(dlg); |
| | | } |
| | | return p; |
| | | } |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public Set<WizardStep> getWizardSteps() { |
| | | public Set<? extends WizardStep> getWizardSteps() { |
| | | return Collections.unmodifiableSet(new HashSet<WizardStep>(lstSteps)); |
| | | } |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public ProgressStep getStatus() |
| | | public ProgressStep getCurrentProgressStep() |
| | | { |
| | | return status; |
| | | } |
| | |
| | | argList.add(CONFIG_CLASS_NAME); |
| | | |
| | | argList.add("-c"); |
| | | argList.add(getConfigFilePath()); |
| | | argList.add(Utils.getPath(getInstallation().getCurrentConfigurationFile())); |
| | | argList.add("-p"); |
| | | argList.add(String.valueOf(getUserData().getServerPort())); |
| | | argList.add("-j"); |
| | |
| | | argList.add(CONFIG_CLASS_NAME); |
| | | |
| | | argList.add("-f"); |
| | | argList.add(getConfigFilePath()); |
| | | argList.add(Utils.getPath(getInstallation().getCurrentConfigurationFile())); |
| | | |
| | | argList.add("-n"); |
| | | argList.add(getBackendName()); |
| | |
| | | argList.add(CONFIG_CLASS_NAME); |
| | | |
| | | argList.add("-f"); |
| | | argList.add(getConfigFilePath()); |
| | | argList.add(Utils.getPath(getInstallation().getCurrentConfigurationFile())); |
| | | argList.add("-n"); |
| | | argList.add(getBackendName()); |
| | | argList.add("-l"); |
| | |
| | | argList.add(CONFIG_CLASS_NAME); |
| | | |
| | | argList.add("-f"); |
| | | argList.add(getConfigFilePath()); |
| | | argList.add(Utils.getPath(getInstallation().getCurrentConfigurationFile())); |
| | | argList.add("-n"); |
| | | argList.add(getBackendName()); |
| | | argList.add("-t"); |
| | |
| | | } |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | protected String getBinariesPath() |
| | | { |
| | | return Utils.getPath(getInstallationPath(), |
| | | Utils.getBinariesRelativePath()); |
| | | } |
| | | |
| | | /** |
| | | * Validate the data provided by the user in the server settings panel and |
| | | * update the userData object according to that content. |
| | | * |