public class EnrichedNotificationInfo extends Object
| Constructor and Description |
|---|
EnrichedNotificationInfo(String uniqueId,
String correlationId,
GroupCorrelation groupCorrelation,
org.mule.runtime.api.message.Message message,
Optional<org.mule.runtime.api.message.Error> error,
Object component,
Exception exception,
Map<String,org.mule.runtime.api.metadata.TypedValue> variables,
String originatingFlowName,
FlowCallStack flowCallStack) |
| Modifier and Type | Method and Description |
|---|---|
static EnrichedNotificationInfo |
createInfo(Event event,
Exception e,
Object component)
Extract information from the event and exception to provide notification data.
|
org.mule.runtime.api.metadata.TypedValue |
evaluateExpression(ExpressionManager expressionManager,
String script) |
org.mule.runtime.api.meta.AnnotatedObject |
getComponent() |
String |
getCorrelationId() |
Optional<org.mule.runtime.api.message.Error> |
getError() |
Exception |
getException() |
FlowCallStack |
getFlowCallStack() |
GroupCorrelation |
getGroupCorrelation() |
org.mule.runtime.api.message.Message |
getMessage() |
String |
getOriginatingFlowName() |
String |
getUniqueId() |
Map<String,org.mule.runtime.api.metadata.TypedValue> |
getVariables() |
public EnrichedNotificationInfo(String uniqueId, String correlationId, GroupCorrelation groupCorrelation, org.mule.runtime.api.message.Message message, Optional<org.mule.runtime.api.message.Error> error, Object component, Exception exception, Map<String,org.mule.runtime.api.metadata.TypedValue> variables, String originatingFlowName, FlowCallStack flowCallStack)
public static EnrichedNotificationInfo createInfo(Event event, Exception e, Object component)
event - the event to extract information frome - the exception that occurredcomponent - the component (processor, source, etc) that triggered the notificationpublic String getUniqueId()
public String getCorrelationId()
public GroupCorrelation getGroupCorrelation()
public org.mule.runtime.api.message.Message getMessage()
public Optional<org.mule.runtime.api.message.Error> getError()
public org.mule.runtime.api.meta.AnnotatedObject getComponent()
public Exception getException()
public String getOriginatingFlowName()
public FlowCallStack getFlowCallStack()
public org.mule.runtime.api.metadata.TypedValue evaluateExpression(ExpressionManager expressionManager, String script)
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.