net.sourceforge.groboutils.codecoverage.v2.logger
Class DefaultChannelLogRecord

java.lang.Object
  extended bynet.sourceforge.groboutils.codecoverage.v2.logger.DefaultChannelLogRecord
All Implemented Interfaces:
IChannelLogRecord

public final class DefaultChannelLogRecord
extends java.lang.Object
implements IChannelLogRecord

A standard implementation of a channel log record. Includes an equals( Object ) and hashCode() implementation.

Since:
December 17, 2002
Version:
$Date: 2004/04/17 08:24:39 $
Author:
Matt Albrecht groboclown@users.sourceforge.net

Constructor Summary
DefaultChannelLogRecord(java.lang.String s, short me, short ma)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getClassSignature()
          Returns the signature for the class (fully-qualified class name + the checksum for the class bytecode).
 short getMarkIndex()
          Returns the recorded index for the channel's mark in this method.
 short getMethodIndex()
          Returns the index for the method in which this entry was recorded.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultChannelLogRecord

public DefaultChannelLogRecord(java.lang.String s,
                               short me,
                               short ma)
Method Detail

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getClassSignature

public java.lang.String getClassSignature()
Description copied from interface: IChannelLogRecord
Returns the signature for the class (fully-qualified class name + the checksum for the class bytecode).

Specified by:
getClassSignature in interface IChannelLogRecord
Returns:
the class signature.

getMethodIndex

public short getMethodIndex()
Description copied from interface: IChannelLogRecord
Returns the index for the method in which this entry was recorded.

Specified by:
getMethodIndex in interface IChannelLogRecord
Returns:
the method index.

getMarkIndex

public short getMarkIndex()
Description copied from interface: IChannelLogRecord
Returns the recorded index for the channel's mark in this method.

Specified by:
getMarkIndex in interface IChannelLogRecord
Returns:
the mark index.


Copyright © 2001-2003 by The GroboUtils Project