From 8feee36de8e6042f928439b06a03d50018423afe Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 17 Aug 2007 00:53:26 +0000
Subject: [PATCH] The following modifications have the following goals:
---
opends/src/quicksetup/org/opends/quicksetup/UserData.java | 23 +++++++++++++++++++++++
1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/UserData.java b/opends/src/quicksetup/org/opends/quicksetup/UserData.java
index 25611a8..bb79638 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/UserData.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/UserData.java
@@ -85,12 +85,15 @@
private boolean interactive;
+ private boolean forceOnError;
+
/**
* Creates a user data object with default values.
*/
public UserData() {
startServer = true;
enableWindowsService = false;
+ forceOnError = true;
NewSuffixOptions defaultNewSuffixOptions = new NewSuffixOptions(
NewSuffixOptions.Type.CREATE_BASE_ENTRY, "dc=example,dc=com");
@@ -466,6 +469,26 @@
}
/**
+ * Sets whether or not we must continue when there is a non critical error.
+ * @param forceOnError where true indicates to continue uninstall if there is
+ * a non critical error.
+ */
+ public void setForceOnError(boolean forceOnError) {
+ this.forceOnError = forceOnError;
+ }
+
+ /**
+ * Indicates whether or not the user has requested to continue when a non
+ * critical error occurs.
+ *
+ * @return boolean where true indicates to continue uninstall if there is a
+ * non critical error.
+ */
+ public boolean isForceOnError() {
+ return this.forceOnError;
+ }
+
+ /**
* Sets whether or not this session should solicite feedback from the user
* for missing information.
* @param interactive boolean where true indicates this application
--
Gitblit v1.10.0