com.ibm.ffdc.config
Interface DataCollector
- public interface DataCollector
Method Summary
Modifier and Type | Method and Description |
---|---|
|
collect(java.lang.Throwable ex)
Returns the collected data for the method.
|
|
getSupportedTypeNames()
Return the supported type and method names.
|
Method Detail
collect
- java.util.Collection<? extends java.lang.Object> collect( java.lang.Throwable ex)
Returns the collected data for the method.
If the method is not supported return null, if the method is supported but there is no data to be collected return an empty collection.
Parameters:
ex
- the encountered exception, this can be used to filter the data to be collected Returns:
collected objects
getSupportedTypeNames
- java.lang.String[] getSupportedTypeNames( )
Return the supported type and method names.
"somepackage.A" will collect data for all methods of A
"somepackage.A#doSomething" will collect data for all signatures of the methods name
doSomething
Returns:
the supported type names this formatter can format