@Deprecated public class ThrowAnProcessor extends AbstractMockProcessor
| Modifier and Type | Field and Description |
|---|---|
protected Object |
exception
Deprecated.
|
static String |
MESSAGE_PROCESSOR_NAME
Deprecated.
|
protected Object |
whenCalling
Deprecated.
|
protected Object |
withAttributes
Deprecated.
|
expressionWrapper, flowConstruct, moduleObject, muleContext, processor| Constructor and Description |
|---|
ThrowAnProcessor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcess(org.mule.runtime.core.api.Event muleEvent,
MockModule module)
Deprecated.
Invokes the Processor.
|
protected String |
getProcessorName()
Deprecated.
|
void |
setException(Object value)
Deprecated.
Sets exception
|
void |
setWhenCalling(Object value)
Deprecated.
Sets whenCalling
|
void |
setWithAttributes(Object value)
Deprecated.
Sets withAttributes
|
findOrCreate, getEvaluatedAttributes, getModule, getProcessor, getWithAttributes, initialise, 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 MESSAGE_PROCESSOR_NAME
protected Object exception
protected Object whenCalling
protected Object withAttributes
public void setWhenCalling(Object value)
value - Value to setpublic void setWithAttributes(Object value)
value - Value to setpublic void setException(Object value)
value - Value to setprotected void doProcess(org.mule.runtime.core.api.Event muleEvent,
MockModule module)
throws Exception
doProcess in class AbstractMockProcessormuleEvent - MuleEvent to be processedmodule - the MockModuleExceptionprotected String getProcessorName()
getProcessorName in class AbstractMockProcessorCopyright © 2017. All Rights Reserved.