org.jcoderz.commons
Class TstLogMessage

java.lang.Object
  extended by org.jcoderz.commons.LogMessageInfoImpl
      extended by org.jcoderz.commons.TstLogMessage
All Implemented Interfaces:
Serializable, LogMessageInfo
Direct Known Subclasses:
TstLogMessage.TestAuditMessage, TstLogMessage.TestMessage

public abstract class TstLogMessage
extends LogMessageInfoImpl

Enumeration of all Test Messages log messages.

Instances of this class are immutable.

The following Test Messages are defined:

Author:
generated
See Also:
Serialized Form

Nested Class Summary
static class TstLogMessage.TestAuditMessage
          This is a test audit event and should not be used in a production environment. .
static class TstLogMessage.TestMessage
          This is a test message and should not be used in a production environment.
 
Field Summary
static TstLogMessage.TestAuditMessage TEST_AUDIT_MESSAGE
          The log message for the event TEST_AUDIT_MESSAGE.
static TstLogMessage.TestMessage TEST_MESSAGE
          The log message for the event TEST_MESSAGE.
 
Method Summary
static TstLogMessage fromInt(int value)
          Factory method to create a TstLogMessage class from its integer representation.
static TstLogMessage fromString(String value)
          Factory method to create a TstLogMessage class from its string representation.
 
Methods inherited from class org.jcoderz.commons.LogMessageInfoImpl
formatMessage, getAppName, getAppNameAbbreviation, getBusinessImpact, getCategory, getGroupName, getGroupNameAbbreviation, getLogLevel, getMessagePattern, getParameterList, getSolution, getSymbol, toInt, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEST_MESSAGE

public static final TstLogMessage.TestMessage TEST_MESSAGE
The log message for the event TEST_MESSAGE.


TEST_AUDIT_MESSAGE

public static final TstLogMessage.TestAuditMessage TEST_AUDIT_MESSAGE
The log message for the event TEST_AUDIT_MESSAGE.

Method Detail

fromString

public static final TstLogMessage fromString(String value)
Factory method to create a TstLogMessage class from its string representation.

Parameters:
value - the string representation.
Returns:
TstLogMessage class from its string representation.

fromInt

public static final TstLogMessage fromInt(int value)
Factory method to create a TstLogMessage class from its integer representation.

Parameters:
value - the integer representation.
Returns:
TstLogMessage class from its integer representation.


Copyright 2007 The jCoderZ Project.