public class BatchEvent extends Object
CoreEvent which triggered a BatchJobInstance.
Because we only care about a small piece of the event, this class allows to save serialization time and disk space.| Constructor and Description |
|---|
BatchEvent(String correlationId,
Map<String,org.mule.runtime.api.metadata.TypedValue<?>> variables,
org.mule.runtime.api.component.location.ComponentLocation componentLocation) |
BatchEvent(String correlationId,
Map<String,org.mule.runtime.api.metadata.TypedValue<?>> variables,
org.mule.runtime.api.component.location.ComponentLocation componentLocation,
Optional<Map<String,String>> loggingVariables) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.core.api.event.CoreEvent.Builder |
asEventBuilder(BatchJobAdapter batchJob)
Deprecated.
|
org.mule.runtime.core.api.event.CoreEvent.Builder |
asEventBuilder(BatchJobAdapter batchJob,
CompletableFuture<Void> externalCompletion) |
String |
getCorrelationId() |
static BatchEvent |
of(org.mule.runtime.core.api.event.CoreEvent event) |
public BatchEvent(String correlationId, Map<String,org.mule.runtime.api.metadata.TypedValue<?>> variables, org.mule.runtime.api.component.location.ComponentLocation componentLocation)
public static BatchEvent of(org.mule.runtime.core.api.event.CoreEvent event)
@Deprecated public org.mule.runtime.core.api.event.CoreEvent.Builder asEventBuilder(BatchJobAdapter batchJob)
asEventBuilder(BatchJobAdapter, CompletableFuture)public org.mule.runtime.core.api.event.CoreEvent.Builder asEventBuilder(BatchJobAdapter batchJob, CompletableFuture<Void> externalCompletion)
public String getCorrelationId()
Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.