com.metamatrix.common.log.reader
Class LogEntry

java.lang.Object
  extended by com.metamatrix.common.log.reader.LogEntry
All Implemented Interfaces:
java.io.Serializable

public class LogEntry
extends java.lang.Object
implements java.io.Serializable

Since:
4.3
See Also:
Serialized Form

Field Summary
static java.lang.String MAX_LOG_ROWS_RETURNED
          The name of the System property that contains the maximum number of rows that will be returned for viewing..
 
Constructor Summary
LogEntry()
           
 
Method Summary
 java.lang.String getContext()
           
 java.util.Date getDate()
           
 java.lang.String getException()
           
 java.lang.String getHostName()
           
 int getLevel()
           
 java.lang.String getMessage()
           
 java.lang.String getProcessName()
           
 java.lang.String getThreadName()
           
 void setContext(java.lang.String context)
           
 void setDate(java.util.Date date)
           
 void setException(java.lang.String exception)
           
 void setHostName(java.lang.String hostName)
           
 void setLevel(int level)
           
 void setMessage(java.lang.String message)
           
 void setProcessName(java.lang.String processName)
           
 void setThreadName(java.lang.String threadName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_LOG_ROWS_RETURNED

public static final java.lang.String MAX_LOG_ROWS_RETURNED
The name of the System property that contains the maximum number of rows that will be returned for viewing.. This is an optional property that defaults to '2500'.

See Also:
Constant Field Values
Constructor Detail

LogEntry

public LogEntry()
Method Detail

getContext

public java.lang.String getContext()
Returns:
Returns the context.
Since:
4.3

setContext

public void setContext(java.lang.String context)
Parameters:
context - The context to set.
Since:
4.3

getDate

public java.util.Date getDate()
Returns:
Returns the date.
Since:
4.3

setDate

public void setDate(java.util.Date date)
Parameters:
date - The date to set.
Since:
4.3

getException

public java.lang.String getException()
Returns:
Returns the exception.
Since:
4.3

setException

public void setException(java.lang.String exception)
Parameters:
exception - The exception to set.
Since:
4.3

getHostName

public java.lang.String getHostName()
Returns:
Returns the hostName.
Since:
4.3

setHostName

public void setHostName(java.lang.String hostName)
Parameters:
hostName - The hostName to set.
Since:
4.3

getLevel

public int getLevel()
Returns:
Returns the level.
Since:
4.3

setLevel

public void setLevel(int level)
Parameters:
level - The level to set.
Since:
4.3

getMessage

public java.lang.String getMessage()
Returns:
Returns the message.
Since:
4.3

setMessage

public void setMessage(java.lang.String message)
Parameters:
message - The message to set.
Since:
4.3

getProcessName

public java.lang.String getProcessName()
Returns:
Returns the processName.
Since:
4.3

setProcessName

public void setProcessName(java.lang.String processName)
Parameters:
processName - The processName to set.
Since:
4.3

getThreadName

public java.lang.String getThreadName()
Returns:
Returns the threadName.
Since:
4.3

setThreadName

public void setThreadName(java.lang.String threadName)
Parameters:
threadName - The threadName to set.
Since:
4.3


Copyright © 2009. All Rights Reserved.