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

Nicolas Capponi
05.58.2016 ed0ae491be5928897b1e8bd5b41d0426dbd08081
opendj-server-legacy/src/main/java/org/opends/server/util/embedded/RebuildIndexParameters.java
@@ -20,7 +20,6 @@
 */
public final class RebuildIndexParameters
{
  private String configurationFile;
  private String baseDN;
  private RebuildIndexParameters()
@@ -29,11 +28,21 @@
  }
  /**
   * Creates a builder for the rebuild index parameters.
   *
   * @return a builder
   */
  public static Builder rebuildIndexParams()
  {
    return new Builder();
  }
  /**
   * Generates command-line arguments from the parameters.
   *
   * @return command-line arguments
   */
  String[] toCommandLineArguments()
  String[] toCommandLineArguments(String configurationFile)
  {
    return new String[] {
      "--configFile", configurationFile,
@@ -56,16 +65,6 @@
    }
    /**
     * Creates a builder for the rebuild index parameters.
     *
     * @return a builder
     */
    public static Builder rebuildIndexParams()
    {
      return new Builder();
    }
    /**
     * Generates the parameters from this builder.
     * <p>
     * After this call, the builder is reset and can be used to generate other parameters.
@@ -80,19 +79,6 @@
    }
    /**
     * Sets the configuration file of the server.
     *
     * @param file
     *          the configuration file
     * @return this builder
     */
    public Builder configurationFile(String file)
    {
      params.configurationFile = file;
      return this;
    }
    /**
     * Sets the base Dn for user information in the directory server.
     *
     * @param baseDN