public abstract class MunitProcessor
extends org.mule.runtime.api.meta.AbstractAnnotatedObject
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 |
protected org.mule.runtime.core.api.MuleContext |
muleContext |
| Constructor and Description |
|---|
MunitProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.mule.runtime.core.api.InternalEvent |
doProcess(org.mule.runtime.core.api.InternalEvent event)
The method that do the actual process
|
protected abstract String |
getProcessor() |
void |
initialise() |
org.mule.runtime.core.api.InternalEvent |
process(org.mule.runtime.core.api.InternalEvent event)
Executes the message processor code.
|
void |
setMuleContext(org.mule.runtime.core.api.MuleContext context) |
getAnnotation, getAnnotations, getLocation, getRootContainerName, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Inject protected org.mule.runtime.core.api.MuleContext muleContext
protected 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.InternalEvent process(org.mule.runtime.core.api.InternalEvent 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.InternalEvent doProcess(org.mule.runtime.core.api.InternalEvent event)
event - * The mule Eventprotected abstract String getProcessor()
public void setMuleContext(org.mule.runtime.core.api.MuleContext context)
Copyright © 2017. All rights reserved.