public class SpyProcessor extends AbstractMockProcessor
| Modifier and Type | Field and Description |
|---|---|
protected Object |
assertionsAfterCall |
protected Object |
assertionsBeforeCall |
static String |
PROCESSOR_NAME |
expressionWrapper, flowConstruct, moduleObject, muleContext, processor, withAttributes| Constructor and Description |
|---|
SpyProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcess(org.mule.runtime.core.api.Event event,
MockModule module)
Invokes the Processor.
|
protected String |
getProcessorName() |
void |
initialise() |
void |
setAssertionsAfterCall(Object value)
Sets assertionsAfterCall
|
void |
setAssertionsBeforeCall(Object value)
Sets assertionsBeforeCall
|
findOrCreate, getEvaluatedAttributes, getModule, getProcessor, getWithAttributes, isInvalidExpression, process, setFlowConstruct, setModuleObject, setMuleContext, setProcessor, setWithAttributes, transformAssertionsgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProcessingTypeandThen, compose, identitypublic static final String PROCESSOR_NAME
protected Object assertionsBeforeCall
protected Object 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(Object value)
value - Value to setpublic void setAssertionsAfterCall(Object value)
value - Value to setprotected void doProcess(org.mule.runtime.core.api.Event 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.