mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
08.12.2007 5064c8626efa1e9d351f05792f9ccc403ec2eac0
opends/src/quicksetup/org/opends/quicksetup/UserData.java
@@ -69,6 +69,8 @@
  private boolean stopServer;
  private boolean enableWindowsService;
  private NewSuffixOptions newSuffixOptions;
  private DataReplicationOptions replicationOptions;
@@ -88,6 +90,7 @@
   */
  public UserData() {
    startServer = true;
    enableWindowsService = false;
    NewSuffixOptions defaultNewSuffixOptions = new NewSuffixOptions(
        NewSuffixOptions.Type.CREATE_BASE_ENTRY, "dc=example,dc=com");
@@ -277,6 +280,27 @@
  }
  /**
   * Returns <CODE>true</CODE> if the windows service must be enabled during
   * installation, <CODE>false</CODE> if not.
   * @return <CODE>true</CODE> if the windows service must be enabled during
   * installation, <CODE>false</CODE> if not.
   */
  public boolean getEnableWindowsService()
  {
    return enableWindowsService;
  }
  /**
   * Sets whether we want to enable windows service during installation or not.
   * @param enableWindowsService the boolean indicating whether we want to
   * enable windows service during installation or not.
   */
  public void setEnableWindowsService(boolean enableWindowsService)
  {
    this.enableWindowsService = enableWindowsService;
  }
  /**
   * Returns the NewSuffixOptions object representing the data in the New Suffix
   * Data Options panel.
   * @return the NewSuffixOptions object representing the data in the New Suffix