@NoImplement public interface BatchJobResult extends Serializable
| Modifier and Type | Method and Description |
|---|---|
String |
getBatchJobInstanceId()
The id of the owning
BatchJobInstance |
long |
getElapsedTimeInMillis()
How many milliseconds the
BatchJobInstance has been in executing state. |
long |
getFailedRecords()
How many records were processed and failed in at least one step
|
Exception |
getInputPhaseException()
If the input phase failed, this method returns an exception info object
|
long |
getLoadedRecords()
How many records were loaded so far.
|
Exception |
getLoadingPhaseException()
If the loading phase failed, this method returns an exception info object
|
Exception |
getOnCompletePhaseException()
If the on complete phase failed, this method returns an exception info object
|
long |
getProcessedRecords()
How many records already went through all steps so far.
|
BatchStepResult |
getResultForStep(String stepId)
Retrieves information about the execution of a particular step
|
long |
getSuccessfulRecords()
How many records were processed through all the steps without failing any of them
|
long |
getTotalRecords()
Total number of records in the batch
|
boolean |
isFailedOnCompletePhase()
Wether an exeption was found on the on complete phase
|
boolean |
isFailedOnInputPhase()
Wether an exeption was found on the on input phase
|
boolean |
isFailedOnLoadingPhase()
Wether an exeption was found on the on loading phase
|
BatchStepResult getResultForStep(String stepId)
stepId - the id of a step in the owning BatchJobBatchStepResultlong getElapsedTimeInMillis()
BatchJobInstance has been in executing state. If the job is stopped and then resumed, this
method is smart enough to filter the intervallong getSuccessfulRecords()
long getFailedRecords()
long getTotalRecords()
long getLoadedRecords()
getTotalRecords()long getProcessedRecords()
getTotalRecords()String getBatchJobInstanceId()
BatchJobInstanceStringboolean isFailedOnInputPhase()
Exception getInputPhaseException()
Exceptionboolean isFailedOnLoadingPhase()
Exception getLoadingPhaseException()
Exceptionboolean isFailedOnCompletePhase()
Copyright © 2006–2024 MuleSoft, Inc.. All rights reserved.