public class DefaultBatchStepExceptionSummary extends Object implements BatchStepExceptionSummaryAdapter
BatchStepExceptionSummary| Constructor and Description |
|---|
DefaultBatchStepExceptionSummary() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Exception> |
account(T exception)
Updates summary information with the given exception
|
Map<Class<? extends Exception>,Long> |
getExceptionsCount()
|
public <T extends Exception> void account(T exception)
account in interface BatchStepExceptionSummaryAdapterexception - an exceptionpublic Map<Class<? extends Exception>,Long> getExceptionsCount()
Map in which the key is an Exception class and the value is a long stating how
many times that exception occurred. This map might be empty but it will never be null. This map will return null
if queried for an exception that never occurred.getExceptionsCount in interface BatchStepExceptionSummaryMap with an exception class as key and a Long as valueCopyright © 2006–2019 MuleSoft, Inc.. All rights reserved.