org.kuali.student.common.ui.client.logging
Class LogBuffer

java.lang.Object
  extended by org.kuali.student.common.ui.client.logging.LogBuffer
All Implemented Interfaces:
Serializable

Deprecated.

@Deprecated
public class LogBuffer
extends Object
implements Serializable

Stores log messages, can be sent to log service.

See Also:
Serialized Form

Constructor Summary
LogBuffer()
          Deprecated. Creates an empty LogBuffer with a size limit of Integer.MAX_VALUE
LogBuffer(int maxSize)
          Deprecated. Creates an empty LogBuffer with the specified size limit.
 
Method Summary
 void add(LogMessage message)
          Deprecated. Adds a message to the buffer
 List<LogMessage> getLogMessages()
          Deprecated. Returns the underlying log buffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogBuffer

public LogBuffer()
Deprecated. 
Creates an empty LogBuffer with a size limit of Integer.MAX_VALUE


LogBuffer

public LogBuffer(int maxSize)
Deprecated. 
Creates an empty LogBuffer with the specified size limit. When size limit is reached, older messages are removed as newer ones are added.

Parameters:
maxSize -
Method Detail

add

public void add(LogMessage message)
Deprecated. 
Adds a message to the buffer

Parameters:
message -

getLogMessages

public List<LogMessage> getLogMessages()
Deprecated. 
Returns the underlying log buffer.

Returns:
the underlying log buffer as List


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.