edu.rice.cs.cunit.threadCheck
Class ThreadCheck.OnlyRunByViolation
java.lang.Object
edu.rice.cs.cunit.threadCheck.ThreadCheck.Violation
edu.rice.cs.cunit.threadCheck.ThreadCheck.OnlyRunByViolation
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- ThreadCheck
public static class ThreadCheck.OnlyRunByViolation
- extends ThreadCheck.Violation
- See Also:
- Serialized Form
Constructor Summary |
ThreadCheck.OnlyRunByViolation(java.lang.String threadName,
java.lang.String threadGroupName,
long threadId,
java.lang.StackTraceElement[] ste,
boolean allowedEventThread,
java.util.HashSet<java.lang.String> allowedThreadNames,
java.util.HashSet<java.lang.String> allowedGroupNames,
java.util.HashSet<java.lang.Long> allowedThreadIds)
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
toString()
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
allowedEventThread
public final boolean allowedEventThread
allowedThreadNames
public final java.util.HashSet<java.lang.String> allowedThreadNames
allowedGroupNames
public final java.util.HashSet<java.lang.String> allowedGroupNames
allowedThreadIds
public final java.util.HashSet<java.lang.Long> allowedThreadIds
ThreadCheck.OnlyRunByViolation
public ThreadCheck.OnlyRunByViolation(java.lang.String threadName,
java.lang.String threadGroupName,
long threadId,
java.lang.StackTraceElement[] ste,
boolean allowedEventThread,
java.util.HashSet<java.lang.String> allowedThreadNames,
java.util.HashSet<java.lang.String> allowedGroupNames,
java.util.HashSet<java.lang.Long> allowedThreadIds)
toString
public java.lang.String toString()
- Returns a string representation of the object.
- Overrides:
toString
in class java.lang.Object
- Returns:
- string representation
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class ThreadCheck.Violation
hashCode
public int hashCode()
- Overrides:
hashCode
in class ThreadCheck.Violation