org.hopto.pentaj.jexin.stacktrace
Class CompletedStackTrace

java.lang.Object
  extended by org.hopto.pentaj.jexin.stacktrace.CompletedStackTrace

public class CompletedStackTrace
extends java.lang.Object

The information for a StackTrace that is completed.


Constructor Summary
CompletedStackTrace(StackTrace stackTrace, java.util.List<StackTraceTemplate> matchingTemplates, java.util.List<StackTraceTemplate> injectingTemplates, java.util.List<InjectableException> injectableExceptions)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getId()
           
 java.util.List<InjectableException> getInjectableExceptions()
           
 java.util.List<StackTraceTemplate> getInjectingTemplates()
           
 java.util.List<StackTraceTemplate> getMatchingTemplates()
          The templates are sorted by name
 StackTrace getStackTrace()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompletedStackTrace

public CompletedStackTrace(StackTrace stackTrace,
                           java.util.List<StackTraceTemplate> matchingTemplates,
                           java.util.List<StackTraceTemplate> injectingTemplates,
                           java.util.List<InjectableException> injectableExceptions)
Method Detail

getId

public int getId()
Returns:
the id of this trace in the StackTraceManager

getStackTrace

public StackTrace getStackTrace()
Returns:
the stackTrace

getMatchingTemplates

public java.util.List<StackTraceTemplate> getMatchingTemplates()
The templates are sorted by name

Returns:
The StackTraceTemplates that match this StackTrace exactly

getInjectingTemplates

public java.util.List<StackTraceTemplate> getInjectingTemplates()
Returns:
The StackTraceTemplates that injected exceptions into this StackTrace

getInjectableExceptions

public java.util.List<InjectableException> getInjectableExceptions()
Returns:
The InjectableExceptions that are available to inject into the StackTrace if it is converted to a template

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

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