public class SpyProcessor extends AbstractMockProcessor
Spy Processor
| Modifier and Type | Field and Description |
|---|---|
protected org.mule.runtime.core.api.processor.MessageProcessorChain |
assertionsAfterCall |
protected org.mule.runtime.core.api.processor.MessageProcessorChain |
assertionsBeforeCall |
static String |
PROCESSOR_NAME |
expressionWrapper, moduleObject, muleContext, processor, withAttributes| Constructor and Description |
|---|
SpyProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcess(org.mule.runtime.core.api.InternalEvent event,
MockModule module)
Invokes the Processor.
|
protected String |
getProcessorName() |
void |
initialise() |
void |
setAssertionsAfterCall(org.mule.runtime.core.api.processor.MessageProcessorChain value)
Sets assertionsAfterCall
|
void |
setAssertionsBeforeCall(org.mule.runtime.core.api.processor.MessageProcessorChain value)
Sets assertionsBeforeCall
|
findOrCreate, getEvaluatedAttributes, getModule, getProcessor, getWithAttributes, isInvalidExpression, process, setModuleObject, setMuleContext, setProcessor, setWithAttributesgetAnnotation, getAnnotations, getLocation, getRootContainerName, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String PROCESSOR_NAME
protected org.mule.runtime.core.api.processor.MessageProcessorChain assertionsBeforeCall
protected org.mule.runtime.core.api.processor.MessageProcessorChain assertionsAfterCall
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableinitialise in class AbstractMockProcessororg.mule.runtime.api.lifecycle.InitialisationExceptionpublic void setAssertionsBeforeCall(org.mule.runtime.core.api.processor.MessageProcessorChain value)
value - Value to setpublic void setAssertionsAfterCall(org.mule.runtime.core.api.processor.MessageProcessorChain value)
value - Value to setprotected void doProcess(org.mule.runtime.core.api.InternalEvent event,
MockModule module)
throws Exception
doProcess in class AbstractMockProcessorevent - MuleEvent to be processedmodule - the MockModuleExceptionprotected String getProcessorName()
getProcessorName in class AbstractMockProcessorCopyright © 2017. All rights reserved.