com.ptc.windchill.upgrade.modeldiff
Class Message
java.lang.Object
com.ptc.windchill.upgrade.modeldiff.Message
- class Message
- extends Object
Constructor Summary |
(package private) |
Message()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
progressMessageState_
private static int progressMessageState_
progressMessageClearString_
private static String progressMessageClearString_
progressMessageSymbols_
private static final String[] progressMessageSymbols_
reportPrintWriter_
private static PrintWriter reportPrintWriter_
Message
Message()
console
static void console(String text)
log
static void log(String text)
output
static void output(String text)
error
static void error(String text)
clearProgressMessageIfNecessary
private static void clearProgressMessageIfNecessary()
- Erase last progress message
incrementProgressMessage
static void incrementProgressMessage()
- Update a transient message on the screen with a spinning text bar.
This bar will rotate 45 degrees with each invocation.
This message will be written without using a line break, and will be
overwritten when the "output" or "error" methods are invoked.
incrementProgressMessage
static void incrementProgressMessage(String message)
- Update a transient message on the screen to containing the specified message.
This message will be written without using a line break, and will be
overwritten when "output" or "error" methods are invoked.
- Parameters:
message
- The transient message overwritten by the next actual or next transient message.
setReportPrintWriter
static void setReportPrintWriter(PrintWriter x)
outputCaughtThrowable
static void outputCaughtThrowable(Throwable t,
String text)
- Insures that errors are recorded in the report, too. Provides a standard look for the output.
- Parameters:
t
- The general exception that was encountered.text
- The string delivered to Report, the log, and, if settings allow, to the screen.