wt.step
Class Message

java.lang.Object
  extended bywt.step.Message

public class Message
extends Object

Used to log/highlight/describe the STEP Import/Export process when the server is in 'verbose' mode.


Field Summary
private static String _scopeIdentifier
           
private static boolean _writeMessages
           
 
Constructor Summary
Message()
           
 
Method Summary
static void exception(Object obj, Throwable throwable)
           
static void println(Class objClass, String msg)
          Basic implementation sends messages to stdout.
static void println(Object obj, String msg)
           
static void setMessageScope(String scope)
          Sets a prefix for all following messages which identifies the process/service the messages are coming from.
static void setOutputMessages(boolean writeMessages)
          Turns the output of messages on or off.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_writeMessages

private static boolean _writeMessages

_scopeIdentifier

private static String _scopeIdentifier
Constructor Detail

Message

public Message()
Method Detail

setOutputMessages

public static void setOutputMessages(boolean writeMessages)
Turns the output of messages on or off. Defaults to on.


setMessageScope

public static void setMessageScope(String scope)
Sets a prefix for all following messages which identifies the process/service the messages are coming from.


println

public static void println(Class objClass,
                           String msg)
Basic implementation sends messages to stdout.


println

public static void println(Object obj,
                           String msg)

exception

public static void exception(Object obj,
                             Throwable throwable)