From 4978cbcfce206fb43659395556b59c33127505bd Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Mon, 07 Apr 2008 11:56:09 +0000
Subject: [PATCH] Fix for issue 3121 (Bad management of upgrade -r on a already reverted installation)

---
 opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java b/opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java
index 4a79150..9ea771b 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/UserInteraction.java
@@ -115,4 +115,11 @@
    */
   String promptForString(Message prompt, Message title, String defaultValue);
 
+  /**
+   * Tells whether the interaction is command-line based.
+   * @return <CODE>true</CODE> if the user interaction is command-line based and
+   * <CODE>false</CODE> otherwise.
+   */
+  boolean isCLI();
+
 }

--
Gitblit v1.10.0