From 5adde80225f547ffe8d50ca83efd121e495d8e53 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Thu, 07 Jun 2007 17:31:48 +0000
Subject: [PATCH] This commit:
---
opends/src/quicksetup/org/opends/quicksetup/Constants.java | 41 ++++++++++++++++++-----------------------
1 files changed, 18 insertions(+), 23 deletions(-)
diff --git a/opends/src/quicksetup/org/opends/quicksetup/DefaultDataOptions.java b/opends/src/quicksetup/org/opends/quicksetup/Constants.java
similarity index 60%
rename from opends/src/quicksetup/org/opends/quicksetup/DefaultDataOptions.java
rename to opends/src/quicksetup/org/opends/quicksetup/Constants.java
index cfd094c..0b31cf4 100644
--- a/opends/src/quicksetup/org/opends/quicksetup/DefaultDataOptions.java
+++ b/opends/src/quicksetup/org/opends/quicksetup/Constants.java
@@ -22,35 +22,30 @@
* CDDL HEADER END
*
*
- * Portions Copyright 2006-2007 Sun Microsystems, Inc.
+ * Portions Copyright 2007 Sun Microsystems, Inc.
*/
package org.opends.quicksetup;
/**
- * This class is just used to specify which are the default values that will be
- * proposed to the user in the Data Options panel of the Installation wizard.
- *
+ * Defines common constants.
*/
-class DefaultDataOptions extends DataOptions
-{
- /**
- * Default constructor.
- *
- */
- public DefaultDataOptions()
- {
- super(Type.CREATE_BASE_ENTRY, "dc=example,dc=com");
- }
+public class Constants {
- /**
- * Get the number of entries that will be automatically generated.
- *
- * @return the number of entries that will be automatically generated.
- */
- public int getNumberEntries()
- {
- return 2000;
- }
+ /** Platform appropriate line separator. */
+ static public final String LINE_SEPARATOR =
+ System.getProperty("line.separator");
+
+ /** HTML line break tag. */
+ public static final String HTML_LINE_BREAK = "<br>";
+
+ /** HTML bold open tag. */
+ public static final String HTML_BOLD_OPEN = "<b>";
+
+ /** HTML bold close tag. */
+ public static final String HTML_BOLD_CLOSE = "</b>";
+
+ /** Default dynamic name of directory manager. */
+ public static final String DIRECTORY_MANAGER_DN = "cn=Directory Manager";
}
--
Gitblit v1.10.0