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

kenneth_suter
31.43.2007 6df6635f1250c399a2f39d87d0534301ce4c22d7
opends/src/quicksetup/org/opends/quicksetup/upgrader/UpgradeUserData.java
@@ -36,9 +36,14 @@
 */
public class UpgradeUserData extends UserData {
  File installPackage;
  /** Describes upgrade operation type. */
  public enum Operation { UPGRADE, REVERSION };
  Build buildToDownload;
  private File installPackage;
  private Build buildToDownload;
  private Operation operation;
  /**
   * Gets the OpenDS package (.zip) file whose contents will
@@ -87,4 +92,20 @@
    return false;
  }
  /**
   * Sets the operation the user would like to perform.
   * @param operation upgrade or reversion
   */
  public void setOperation(Operation operation) {
    this.operation = operation;
  }
  /**
   * Gets the operation the user would like to perform.
   * @return operation upgrade or reversion
   */
  public Operation getOperation() {
    return this.operation;
  }
}