public abstract class MunitProcessor
extends org.mule.runtime.api.component.AbstractComponent
implements org.mule.runtime.api.lifecycle.Initialisable, org.mule.runtime.core.api.processor.Processor
| Modifier and Type | Field and Description |
|---|---|
protected org.mule.munit.common.util.MunitExpressionWrapper |
expressionWrapper |
| Constructor and Description |
|---|
MunitProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.mule.runtime.core.api.event.CoreEvent |
doProcess(org.mule.runtime.core.api.event.CoreEvent event)
The method that do the actual process
|
protected abstract String |
getProcessor() |
void |
initialise() |
org.mule.runtime.core.api.event.CoreEvent |
process(org.mule.runtime.core.api.event.CoreEvent event)
Executes the message processor code.
|
void |
setExtendedExpressionManager(org.mule.runtime.core.api.el.ExtendedExpressionManager extendedExpressionManager) |
getAnnotation, getAnnotations, getLocation, getRootContainerLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected org.mule.munit.common.util.MunitExpressionWrapper expressionWrapper
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic org.mule.runtime.core.api.event.CoreEvent process(org.mule.runtime.core.api.event.CoreEvent event)
throws org.mule.runtime.api.exception.MuleException
process in interface org.mule.runtime.core.api.processor.Processorevent - The mule event to be processed.org.mule.runtime.api.exception.MuleException - In case of error. If the assertion fails, it throws an AssertionErrorprotected abstract org.mule.runtime.core.api.event.CoreEvent doProcess(org.mule.runtime.core.api.event.CoreEvent event)
event - * The mule Eventprotected abstract String getProcessor()
public void setExtendedExpressionManager(org.mule.runtime.core.api.el.ExtendedExpressionManager extendedExpressionManager)
Copyright © 2019. All rights reserved.