edu.rice.cs.cunit.threadCheck
Class ThreadCheck.Violation

java.lang.Object
  extended by edu.rice.cs.cunit.threadCheck.ThreadCheck.Violation
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ThreadCheck.NotRunByIdViolation, ThreadCheck.NotRunByThreadGroupViolation, ThreadCheck.NotRunByThreadNameViolation, ThreadCheck.OnlyRunByViolation, ThreadCheck.PredicateViolation, ThreadCheck.ReflectionPredicateViolation
Enclosing class:
ThreadCheck

public static class ThreadCheck.Violation
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class ThreadCheck.Violation.TYPE
           
 
Field Summary
 long checkCount
           
static java.lang.String LF
           
 java.lang.StackTraceElement[] stackTrace
           
 java.lang.String threadGroupName
           
 long threadId
           
 java.lang.String threadName
           
 ThreadCheck.Violation.TYPE type
           
 long violationCount
           
 
Constructor Summary
ThreadCheck.Violation(ThreadCheck.Violation.TYPE type, java.lang.String threadName, java.lang.String threadGroupName, long threadId, java.lang.StackTraceElement[] ste)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LF

public static final java.lang.String LF

type

public final ThreadCheck.Violation.TYPE type

threadName

public final java.lang.String threadName

threadGroupName

public final java.lang.String threadGroupName

threadId

public final long threadId

stackTrace

public final java.lang.StackTraceElement[] stackTrace

checkCount

public final long checkCount

violationCount

public final long violationCount
Constructor Detail

ThreadCheck.Violation

public ThreadCheck.Violation(ThreadCheck.Violation.TYPE type,
                             java.lang.String threadName,
                             java.lang.String threadGroupName,
                             long threadId,
                             java.lang.StackTraceElement[] ste)
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object