From e39a001d3ba7f04212d7eb9e1e7cf5b57e6e98f7 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Thu, 01 Aug 2013 15:26:46 +0000
Subject: [PATCH] Change visibility of various classes and methods in the upgrader so that it can be used for embedded upgrades.
---
opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/FormattedNotificationCallback.java | 28 +++++++++++-----------------
1 files changed, 11 insertions(+), 17 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/FormattedNotificationCallback.java b/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/FormattedNotificationCallback.java
index 9fd962b..62ade32 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/FormattedNotificationCallback.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/tools/upgrade/FormattedNotificationCallback.java
@@ -40,15 +40,20 @@
*/
private static final long serialVersionUID = 1L;
- static final int TITLE_CALLBACK = 5;
+ /** Output a title. */
+ public static final int TITLE_CALLBACK = 5;
- static final int SUBTITLE_CALLBACK = 6;
+ /** Output a sub-title. */
+ public static final int SUBTITLE_CALLBACK = 6;
- static final int NOTICE_CALLBACK = 7;
+ /** Output a notice message. */
+ public static final int NOTICE_CALLBACK = 7;
- static final int ERROR_CALLBACK = 8;
+ /** Output an error. */
+ public static final int ERROR_CALLBACK = 8;
- static final int BREAKLINE = 9;
+ /** Output a line break. */
+ public static final int BREAKLINE = 9;
/**
* An integer representing the message's sub-type.
@@ -63,7 +68,7 @@
* @param messageSubType
* An integer representing the sub-type of this message.
*/
- public FormattedNotificationCallback(final Message message,
+ FormattedNotificationCallback(final Message message,
final int messageSubType)
{
super(TextOutputCallback.INFORMATION, message.toString());
@@ -79,15 +84,4 @@
{
return messageSubType;
}
-
- /**
- * Sets the message's sub-type.
- *
- * @param messageSubType
- * The message's sub-type.
- */
- public void setMessageSubType(int messageSubType)
- {
- this.messageSubType = messageSubType;
- }
}
--
Gitblit v1.10.0