From b267d71d61b69ea7f8299de4b88266566a5f5e8c Mon Sep 17 00:00:00 2001
From: Violette Roche-Montane <violette.roche-montane@forgerock.com>
Date: Mon, 27 May 2013 13:07:05 +0000
Subject: [PATCH] OPENDJ-928 Update tool: add option to automatically accept the license

---
 opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/VerificationCallback.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/VerificationCallback.java b/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/VerificationCallback.java
index 642cbcf..4c48523 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/VerificationCallback.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/VerificationCallback.java
@@ -57,6 +57,11 @@
   public static final int CANNOT_BE_REVERTED = 2;
 
   /**
+   * An identifier of the accept license mode.
+   */
+  public static final int ACCEPT_LICENSE_MODE = 3;
+
+  /**
    * The identifier of ignore errors mode.
    */
   public static final int IGNORE_ERRORS_MODE = 5;
@@ -66,6 +71,7 @@
    */
   public static final int MANDATORY_USER_INTERACTION = 6;
 
+
   // The required options for the verification callback.
   private int[] requiredOptions;
 

--
Gitblit v1.10.0