Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

addApplicationProperty(String, String) - Method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 
addInboundAttachment(String, DataHandler) - Method in class org.mule.munit.common.event.EventBuilder
Prepares an attachment with the given key and value to be sent in the product.
addInboundProperty(String, Serializable) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a property with the given key and value to be sent as an inbound property of the product.
addInboundProperty(String, Serializable, String, String) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a property with the given key and value to be sent as an inbound property of the product.
addNotificationListener(RunEventListener) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
addOutboundAttachment(String, DataHandler) - Method in class org.mule.munit.common.event.EventBuilder
Prepares an attachment with the given key and value to be sent in the product.
addOutboundProperty(String, Serializable) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a property with the given key and value to be sent as an outbound property of the product.
addOutboundProperty(String, Serializable, String, String) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a property with the given key and value to be sent as an outbound property of the product.
addSessionProperty(String, Object) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a property with the given key and value to be sent as a session property of the product.
addSessionProperty(String, Object, String, String) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a property with the given key and value to be sent as a session property of the product.
addUserPropertiesToSystem(Map<String, String>) - Static method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 
addUserPropertyToSystem(String, String) - Static method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 
addVariable(String, Object) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a flow variable with the given key and value to be set in the product.
addVariable(String, Object, String, String) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a flow variable with the given key and value to be set in the product.
AFTER_SUITE_END - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
AFTER_SUITE_START - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
Answer - Class in org.mule.munit.common.model
Exclusive optional pojos for the behaviour to mock.
Answer() - Constructor for class org.mule.munit.common.model.Answer
 
Attachment - Class in org.mule.munit.common.model
A model representing an Attachment
Attachment() - Constructor for class org.mule.munit.common.model.Attachment
 
Attribute - Class in org.mule.munit.common.model
Definition of the processor attribute that wants to be mocked.
Attribute() - Constructor for class org.mule.munit.common.model.Attribute
 

B

BEFORE_SUITE_END - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
BEFORE_SUITE_START - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
BehaviorManager - Interface in org.mule.munit.common.behavior
Manages the behavior process.
build() - Method in class org.mule.munit.common.event.DataTypeBuilder
 
build() - Method in class org.mule.munit.common.event.EventBuilder
Produces an event with the specified configuration.
build() - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 

C

ClassUtils - Class in org.mule.munit.common.util
ClassUtils contains useful methods for loading resources and classes This is based on the mule core class so we can have control over it
ClassUtils() - Constructor for class org.mule.munit.common.util.ClassUtils
 
clearSessionProperties() - Method in class org.mule.munit.common.event.EventBuilder
Clears the session properties map
CONTAINER_START_FAILURE - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
CONTAINER_SUITE_START_FAILURE - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
COVERAGE_REPORT - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
COVERAGE_REPORT_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
create(String, String) - Static method in class org.mule.munit.common.model.Attribute
Factory method to simplify test coding

D

DataTypeBuilder - Class in org.mule.munit.common.event
The goal of this class is to build safely DataTypes based in different inputs, and doing the proper validations for invalid values
DataTypeBuilder() - Constructor for class org.mule.munit.common.event.DataTypeBuilder
 
DEFAULT_CHARSET - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
DEFAULT_ENCODING - Static variable in class org.mule.munit.common.util.FileUtils
 
DEFAULT_MULE_DEPLOY_PROPERTIES_RESOURCE - Static variable in class org.mule.munit.common.properties.MuleDeployPropertyLoader
 
DefaultTypedKeyValue - Class in org.mule.munit.common.model
An abstract model that represents a key-value pair with mediaType and encoding
DefaultTypedKeyValue() - Constructor for class org.mule.munit.common.model.DefaultTypedKeyValue
 
DESCRIPTION_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 

E

ELAPSED_TIME_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
encoding(String) - Method in class org.mule.munit.common.event.DataTypeBuilder
 
encoding - Variable in class org.mule.munit.common.model.DefaultTypedKeyValue
 
encoding - Variable in class org.mule.munit.common.model.EventAttributes
 
equals(Object) - Method in class org.mule.munit.common.behavior.ProcessorId
 
equals(Object) - Method in class org.mule.munit.common.model.Answer
 
equals(Object) - Method in class org.mule.munit.common.model.Attachment
 
equals(Object) - Method in class org.mule.munit.common.model.Attribute
 
equals(Object) - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
equals(Object) - Method in class org.mule.munit.common.model.EventAttributes
 
equals(Object) - Method in class org.mule.munit.common.model.EventError
 
equals(Object) - Method in class org.mule.munit.common.model.FlowName
 
equals(Object) - Method in class org.mule.munit.common.model.NullError
 
equals(Object) - Method in class org.mule.munit.common.model.NullObject
 
equals(Object) - Method in class org.mule.munit.common.model.Payload
 
equals(Object) - Method in class org.mule.munit.common.model.Property
 
equals(Object) - Method in class org.mule.munit.common.model.Variable
 
evaluate(Event, Object) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
 
evaluate(Object) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
 
evaluateAsStringIfExpression(Event, Object) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
Tries to evaluate the given expression and cast it to String, if a java.lang.ClassCastException is thrown it throws a MunitError
evaluateAsStringIfExpression(Event, Object, String) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
Tries to evaluate the given expression and cast it to String, if a java.lang.ClassCastException is thrown it throws a MunitError
evaluateIfExpression(Event, Object) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
It will try to evaluate the source sent, if it's a string and a valid expression.
evaluateNotNullString(Event, Object, String) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
Tries to evaluate the given expression and cast it to String, if a java.lang.ClassCastException is thrown or the expression evaluates to null it throws a MunitError
Event - Class in org.mule.munit.common.model
An abstract model that represents a Mule Event
Event() - Constructor for class org.mule.munit.common.model.Event
 
EventAttributes - Class in org.mule.munit.common.model
An abstract model that represents the Attributes of a Mule Event
EventAttributes() - Constructor for class org.mule.munit.common.model.EventAttributes
 
EventBuilder - Class in org.mule.munit.common.event
This class provides a friendly API to build a Event
EventBuilder(ComponentLocation) - Constructor for class org.mule.munit.common.event.EventBuilder
Creates the event builder from a flow construct
EventBuilder(EventContext) - Constructor for class org.mule.munit.common.event.EventBuilder
Creates the event builder from an event context and a flow construct
EventBuilder(Event) - Constructor for class org.mule.munit.common.event.EventBuilder
Creates the event builder from an event
EventError - Class in org.mule.munit.common.model
An abstract model that represents the Error of a Mule Event
EventError() - Constructor for class org.mule.munit.common.model.EventError
 
extractResources(String, Class, File, boolean) - Static method in class org.mule.munit.common.util.FileUtils
Extract the specified resource to the given directory for remain all directory struct

F

FIELD_TOKEN - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
FileUtils - Class in org.mule.munit.common.util
FileUtils contains useful methods for dealing with files & directories.
FileUtils() - Constructor for class org.mule.munit.common.util.FileUtils
 
find() - Method in class org.mule.munit.common.util.FreePortFinder
 
findFileByName(File, String, boolean) - Static method in class org.mule.munit.common.util.FileUtils
Looks for a file inside a given folder
findFreePort() - Method in class org.mule.munit.common.util.RunnerPortProvider
Looks for a free port in the predefined range
FlowName - Class in org.mule.munit.common.model
Pojo with a flow name as a parameter.
FlowName() - Constructor for class org.mule.munit.common.model.FlowName
 
FreePortFinder - Class in org.mule.munit.common.util
Finds available port numbers in a specified range.
FreePortFinder(int, int) - Constructor for class org.mule.munit.common.util.FreePortFinder
 
fromTypedKeyValue(TypedKeyValue) - Static method in class org.mule.munit.common.event.DataTypeBuilder
 

G

generateRandomFileName(String, String) - Static method in class org.mule.munit.common.util.FileUtils
Generates a file name appending a random number between the given prefix and suffix
get(String) - Method in class org.mule.munit.common.protocol.message.RunMessage
 
getApplicationDeployProperties() - Method in class org.mule.munit.common.properties.MuleDeployPropertyLoader
 
getApplicationProperties() - Method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 
getAttributeName() - Method in class org.mule.munit.common.model.Attribute
 
getAttributes() - Method in class org.mule.munit.common.behavior.ProcessorCall
 
getAttributes() - Method in class org.mule.munit.common.model.Event
 
getBoolean(String) - Method in class org.mule.munit.common.protocol.message.RunMessage
 
getCause() - Method in class org.mule.munit.common.model.EventError
 
getCause() - Method in class org.mule.munit.common.model.NullError
 
getCause() - Method in class org.mule.munit.common.model.UntypedEventError
 
getChildErrors() - Method in class org.mule.munit.common.model.NullError
 
getDataHandler() - Method in class org.mule.munit.common.model.Attachment
 
getDescription() - Method in class org.mule.munit.common.model.NullError
 
getDetailedDescription() - Method in class org.mule.munit.common.model.NullError
 
getDomainDeployProperties() - Method in class org.mule.munit.common.properties.MuleDeployPropertyLoader
 
getDouble(String) - Method in class org.mule.munit.common.protocol.message.RunMessage
 
getEncoding() - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
getEncoding() - Method in class org.mule.munit.common.model.EventAttributes
 
getEncoding() - Method in class org.mule.munit.common.model.Payload
 
getEncoding() - Method in interface org.mule.munit.common.model.TypedKeyValue
 
getError() - Method in class org.mule.munit.common.model.Event
 
getErrorMessage() - Method in class org.mule.munit.common.model.NullError
 
getErrorType() - Method in class org.mule.munit.common.model.NullError
 
getEvaluatedAttribute(Event, MunitExpressionWrapper) - Method in class org.mule.munit.common.model.Attribute
 
getExpressionManager() - Method in class org.mule.munit.common.util.MunitExpressionWrapper
 
getFlow() - Method in class org.mule.munit.common.model.FlowName
 
getFullName() - Method in class org.mule.munit.common.behavior.ProcessorId
 
getId() - Method in class org.mule.munit.common.protocol.message.RunMessage
 
getInboundAttachments() - Method in class org.mule.munit.common.model.Event
 
getInboundProperties() - Method in class org.mule.munit.common.model.Event
 
getInt(String) - Method in class org.mule.munit.common.protocol.message.RunMessage
 
getKey() - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
getKey() - Method in interface org.mule.munit.common.model.TypedKeyValue
 
getLong(String) - Method in class org.mule.munit.common.protocol.message.RunMessage
 
getMediaType() - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
getMediaType() - Method in class org.mule.munit.common.model.EventAttributes
 
getMediaType() - Method in class org.mule.munit.common.model.Payload
 
getMediaType() - Method in interface org.mule.munit.common.model.TypedKeyValue
 
getName(String) - Static method in class org.mule.munit.common.behavior.ProcessorId
Utility method to extract name from full name
getName() - Method in class org.mule.munit.common.behavior.ProcessorId
 
getNamespace(String) - Static method in class org.mule.munit.common.behavior.ProcessorId
Utility method to extract namespace from full name
getNamespace() - Method in class org.mule.munit.common.behavior.ProcessorId
 
getOutboundAttachments() - Method in class org.mule.munit.common.model.Event
 
getOutboundProperties() - Method in class org.mule.munit.common.model.Event
 
getPayload() - Method in class org.mule.munit.common.model.Event
 
getPort() - Method in class org.mule.munit.common.util.RunnerPortProvider
Returns the port number to be used.
getPredefinedPort() - Method in class org.mule.munit.common.util.RunnerPortProvider
Looks for a port number defined in a the property MUNIT_SERVER_PORT
getProcessorId() - Method in class org.mule.munit.common.behavior.ProcessorCall
 
getResource(String, Class<?>) - Static method in class org.mule.munit.common.util.ClassUtils
Load a given resource.
getResourceAsUrl(String, Class) - Static method in class org.mule.munit.common.util.IOUtils
Attempts to load a resource from the file system or from the classpath, in that order.
getResourceAsUrl(String, Class, boolean, boolean) - Static method in class org.mule.munit.common.util.IOUtils
Attempts to load a resource from the file system or from the classpath, in that order.
getResources(String, ClassLoader) - Static method in class org.mule.munit.common.util.ClassUtils
Find resources with a given name.
getSessionProperties() - Method in class org.mule.munit.common.model.Event
 
getStackTrace(Throwable) - Static method in class org.mule.munit.common.util.StackTraceUtil
Gets the stacktrace of the given Throwable based on the verbosity configuration
getStatus(String) - Method in class org.mule.munit.common.protocol.message.RunMessage
 
getThenCall() - Method in class org.mule.munit.common.model.Answer
 
getThenReturn() - Method in class org.mule.munit.common.model.Answer
 
getTypeId() - Method in class org.mule.munit.common.model.EventError
 
getValue() - Method in class org.mule.munit.common.model.Attachment
 
getValue() - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
getValue() - Method in class org.mule.munit.common.model.EventAttributes
 
getValue() - Method in class org.mule.munit.common.model.Payload
 
getValue() - Method in class org.mule.munit.common.model.Property
 
getValue() - Method in interface org.mule.munit.common.model.TypedKeyValue
 
getVariables() - Method in class org.mule.munit.common.model.Event
 
getWhereValue() - Method in class org.mule.munit.common.model.Attribute
 

H

hasEnvironmentProperty(String) - Static method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 
hashCode() - Method in class org.mule.munit.common.behavior.ProcessorId
 
hashCode() - Method in class org.mule.munit.common.model.Answer
 
hashCode() - Method in class org.mule.munit.common.model.Attribute
 
hashCode() - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
hashCode() - Method in class org.mule.munit.common.model.EventAttributes
 
hashCode() - Method in class org.mule.munit.common.model.EventError
 
hashCode() - Method in class org.mule.munit.common.model.FlowName
 
hashCode() - Method in class org.mule.munit.common.model.NullError
 
hashCode() - Method in class org.mule.munit.common.model.NullObject
 
hashCode() - Method in class org.mule.munit.common.model.Payload
 
hasSystemProperty(String) - Static method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 

I

ID - Static variable in interface org.mule.munit.common.behavior.BehaviorManager
 
IGNORED_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
IllegalPortDefinitionException - Exception in org.mule.munit.common.util
Exception throw when a port definition is illegal
IllegalPortDefinitionException(String) - Constructor for exception org.mule.munit.common.util.IllegalPortDefinitionException
 
init() - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
instantiateClass(String, Object[], Class<?>) - Static method in class org.mule.munit.common.util.ClassUtils
Instantiates a class with a given name and arguments

IOUtils - Class in org.mule.munit.common.util
IOUtils contains useful methods for dealing with I/O operations This is based on the mule core class so we can have control over it
IOUtils() - Constructor for class org.mule.munit.common.util.IOUtils
 
isAtLeastMinMuleVersion(String, String) - Static method in class org.mule.munit.common.util.VersionUtils
 
isAtLeastMinMuleVersion(MuleVersion, MuleVersion) - Static method in class org.mule.munit.common.util.VersionUtils
Checks if the current runtime version reaches the minMuleVersion provided.
isCallOf(ProcessorId) - Method in class org.mule.munit.common.behavior.ProcessorCall
Defines if this call is of a particular processor
isClassOnPath(String, Class) - Static method in class org.mule.munit.common.util.ClassUtils
Can be used by service endpoints to select which service to use based on what's loaded on the classpath
isExpression(Object) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
 
isExpressionValid(Object) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
 
isPortFree(int) - Method in class org.mule.munit.common.util.FreePortFinder
Check and log is a given port is available

K

key - Variable in class org.mule.munit.common.model.DefaultTypedKeyValue
 

L

loadClass(String, Class<?>) - Static method in class org.mule.munit.common.util.ClassUtils
Load a class with a given name.
loadClass(String, Class<?>, T) - Static method in class org.mule.munit.common.util.ClassUtils
Load a class with a given name.
loadPropertiesToSystem(Properties) - Static method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 

M

matchingWeight(ProcessorCall) - Method in class org.mule.munit.common.behavior.ProcessorCall
If the current call matches exactly with the call sent by parameter.
MAX_PORT_NUMBER - Static variable in class org.mule.munit.common.util.RunnerPortProvider
 
mediaType(String) - Method in class org.mule.munit.common.event.DataTypeBuilder
 
mediaType - Variable in class org.mule.munit.common.model.DefaultTypedKeyValue
 
mediaType - Variable in class org.mule.munit.common.model.EventAttributes
 
MessageBuilderDecorator - Class in org.mule.munit.common.event
This class provides a friendly API to build a Message
MessageBuilderDecorator() - Constructor for class org.mule.munit.common.event.MessageBuilderDecorator
 
MessageBuilderDecorator(Message) - Constructor for class org.mule.munit.common.event.MessageBuilderDecorator
 
MessageField - Class in org.mule.munit.common.protocol.message
Fields of the RunMessage
MessageField() - Constructor for class org.mule.munit.common.protocol.message.MessageField
 
MessageID - Class in org.mule.munit.common.protocol.message
IDs of the RunMessage
MessageID() - Constructor for class org.mule.munit.common.protocol.message.MessageID
 
MIN_PORT_NUMBER - Static variable in class org.mule.munit.common.util.RunnerPortProvider
 
MuleDeployPropertyLoader - Class in org.mule.munit.common.properties
It knows how to load and read the file mule-deploy.properties from the classpath.
MuleDeployPropertyLoader(File) - Constructor for class org.mule.munit.common.properties.MuleDeployPropertyLoader
 
MUNIT_SERVER_PORT - Static variable in class org.mule.munit.common.util.RunnerPortProvider
 
MUNIT_SUITE_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
MUNIT_VERBOSE_EXCEPTIONS - Static variable in class org.mule.munit.common.util.StackTraceUtil
 
MunitError - Error in org.mule.munit.common.exception
An Error thrown from the MUnit framework
MunitError() - Constructor for error org.mule.munit.common.exception.MunitError
 
MunitError(String) - Constructor for error org.mule.munit.common.exception.MunitError
 
MunitError(Throwable) - Constructor for error org.mule.munit.common.exception.MunitError
 
MunitError(String, Throwable) - Constructor for error org.mule.munit.common.exception.MunitError
 
MunitExpressionWrapper - Class in org.mule.munit.common.util
Provides a friendly API for the ExtendedExpressionManager
MunitExpressionWrapper(ExpressionManager) - Constructor for class org.mule.munit.common.util.MunitExpressionWrapper
 
MUnitUserPropertiesManager - Class in org.mule.munit.common.properties
MUnitUserPropertiesManager allows to set the system properties defined by the user for the execution of the MUnit tests.
MUnitUserPropertiesManager() - Constructor for class org.mule.munit.common.properties.MUnitUserPropertiesManager
 

N

NAME - Static variable in class org.mule.munit.common.model.Answer
 
NAME_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
NEW_LINE_ESCAPE_TOKEN - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
NO_ARGS - Static variable in class org.mule.munit.common.util.ClassUtils
 
normalizeFilePath(URL, String) - Static method in class org.mule.munit.common.util.FileUtils
Remove from uri to file prefix file:/ Add if need file separator to begin
notifyAfterSuiteEnd(String, String, TestStatus) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyAfterSuiteEnd(String, String, TestStatus) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifyAfterSuiteEnd(String, String, TestStatus) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyAfterSuiteStart(String) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyAfterSuiteStart(String) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifyAfterSuiteStart(String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyBeforeSuiteEnd(String, String, TestStatus) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyBeforeSuiteEnd(String, String, TestStatus) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifyBeforeSuiteEnd(String, String, TestStatus) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyBeforeSuiteStart(String) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyBeforeSuiteStart(String) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifyBeforeSuiteStart(String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyContainerFailure(String) - Method in interface org.mule.munit.common.protocol.listeners.RemoteRunEventListener
 
notifyContainerFailure(String, String, String) - Method in interface org.mule.munit.common.protocol.listeners.RemoteRunEventListener
 
notifyContainerFailure(String) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyContainerFailure(String, String, String) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyContainerFailure(String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyContainerFailure(String, String, String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyCoverageReport(String) - Method in interface org.mule.munit.common.protocol.listeners.RemoteRunEventListener
 
notifyCoverageReport(String) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyCoverageReport(String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyRunFinish() - Method in interface org.mule.munit.common.protocol.listeners.RemoteRunEventListener
 
notifyRunFinish() - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyRunFinish() - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyRunStart() - Method in interface org.mule.munit.common.protocol.listeners.RemoteRunEventListener
 
notifyRunStart() - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyRunStart() - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifySuiteEnd(String, String, long) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifySuiteEnd(String, String, long) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifySuiteEnd(String, String, long) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifySuiteStart(String, String, int) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifySuiteStart(String, String, int) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifySuiteStart(String, String, int) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifySuiteUnexpectedError(String, String) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifySuiteUnexpectedError(String, String) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifySuiteUnexpectedError(String, String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyTestEnd(String, String, TestStatus, long) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyTestEnd(String, String, TestStatus, long) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifyTestEnd(String, String, TestStatus, long) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyTestStart(String, String, boolean) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyTestStart(String, String, boolean) - Method in interface org.mule.munit.common.protocol.listeners.SuiteRunEventListener
 
notifyTestStart(String, String, boolean) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyUnexpectedError(String) - Method in interface org.mule.munit.common.protocol.listeners.RemoteRunEventListener
 
notifyUnexpectedError(String) - Method in class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
notifyUnexpectedError(String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
notifyUnknown(String) - Method in interface org.mule.munit.common.protocol.listeners.RemoteRunEventListener
 
NullError - Class in org.mule.munit.common.model
Represent the absence of an Error in an event
NullError() - Constructor for class org.mule.munit.common.model.NullError
 
NullObject - Class in org.mule.munit.common.model
Represent the absence of a value
NullObject() - Constructor for class org.mule.munit.common.model.NullObject
 
NUMBER_OF_TESTS_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 

O

org.mule.munit.common.behavior - package org.mule.munit.common.behavior
 
org.mule.munit.common.event - package org.mule.munit.common.event
 
org.mule.munit.common.exception - package org.mule.munit.common.exception
 
org.mule.munit.common.model - package org.mule.munit.common.model
 
org.mule.munit.common.properties - package org.mule.munit.common.properties
 
org.mule.munit.common.protocol.listeners - package org.mule.munit.common.protocol.listeners
 
org.mule.munit.common.protocol.message - package org.mule.munit.common.protocol.message
 
org.mule.munit.common.protocol.notifiers - package org.mule.munit.common.protocol.notifiers
 
org.mule.munit.common.util - package org.mule.munit.common.util
 

P

PARAMETERIZATION_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
parseAndNotify(String) - Method in class org.mule.munit.common.protocol.message.RunMessageParser
 
Payload - Class in org.mule.munit.common.model
A model that represents the payload of a Message
Payload() - Constructor for class org.mule.munit.common.model.Payload
 
ProcessorCall - Class in org.mule.munit.common.behavior
Representation of the processor call for MUnit
ProcessorCall(ProcessorId) - Constructor for class org.mule.munit.common.behavior.ProcessorCall
 
ProcessorId - Class in org.mule.munit.common.behavior
The representation of a Processor Id
ProcessorId(String, String) - Constructor for class org.mule.munit.common.behavior.ProcessorId
 
Property - Class in org.mule.munit.common.model
A model that represents a property of a Message
Property() - Constructor for class org.mule.munit.common.model.Property
 

R

releasePort(int) - Method in class org.mule.munit.common.util.FreePortFinder
Indicates that the port is free from the point of view of the caller.
RemoteRunEventListener - Interface in org.mule.munit.common.protocol.listeners
Classes implementing this interface handle the notification of a complete run.
reset() - Method in interface org.mule.munit.common.behavior.BehaviorManager
 
restoreInitialSystemProperties() - Static method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 
RUN_FINISH - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
RUN_START - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
RUN_SUITE - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
RUN_TOKEN_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
RunEventListener - Interface in org.mule.munit.common.protocol.listeners
An Event Listener that listens for all notifications of a complete MUnit run
RunEventListenerContainer - Class in org.mule.munit.common.protocol.listeners
A listener implementation that delegate the notifications to other listeners
RunEventListenerContainer() - Constructor for class org.mule.munit.common.protocol.listeners.RunEventListenerContainer
 
RunMessage - Class in org.mule.munit.common.protocol.message
The Message that is serialized and sent when notifying run events
RunMessage(Integer, Map<String, String>) - Constructor for class org.mule.munit.common.protocol.message.RunMessage
 
RunMessageNotifier - Class in org.mule.munit.common.protocol.notifiers
Abstract RunMessageNotifier class.
RunMessageNotifier() - Constructor for class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
RunMessageParser - Class in org.mule.munit.common.protocol.message
The goal of this class is to parse a string representing a RunMessage and react to it by calling the different methods of the interface RunEventListener
RunMessageParser(RunEventListener) - Constructor for class org.mule.munit.common.protocol.message.RunMessageParser
 
RunnerPortProvider - Class in org.mule.munit.common.util
The goal of this class is to obtain the port number that will be used to communicate between RemoteRunner and the MUnit runner
RunnerPortProvider() - Constructor for class org.mule.munit.common.util.RunnerPortProvider
 
runToken - Variable in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 

S

sendMessage(String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
SEPARATOR_TOKEN - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
setAttributeName(String) - Method in class org.mule.munit.common.model.Attribute
 
setAttributes(Map<String, Object>) - Method in class org.mule.munit.common.behavior.ProcessorCall
 
setAttributes(EventAttributes) - Method in class org.mule.munit.common.model.Event
 
setCause(Object) - Method in class org.mule.munit.common.model.EventError
 
setCause(Object) - Method in class org.mule.munit.common.model.UntypedEventError
 
setEncoding(String) - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
setEncoding(String) - Method in class org.mule.munit.common.model.EventAttributes
 
setEncoding(String) - Method in class org.mule.munit.common.model.Payload
 
setEncoding(String) - Method in interface org.mule.munit.common.model.TypedKeyValue
 
setError(EventError) - Method in class org.mule.munit.common.model.Event
 
setFlow(String) - Method in class org.mule.munit.common.model.FlowName
 
setInboundAttachments(List<Attachment>) - Method in class org.mule.munit.common.model.Event
 
setInboundProperties(List<Property>) - Method in class org.mule.munit.common.model.Event
 
setKey(String) - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
setKey(String) - Method in interface org.mule.munit.common.model.TypedKeyValue
 
setMediaType(String) - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
setMediaType(String) - Method in class org.mule.munit.common.model.EventAttributes
 
setMediaType(String) - Method in class org.mule.munit.common.model.Payload
 
setMediaType(String) - Method in interface org.mule.munit.common.model.TypedKeyValue
 
setOutboundAttachments(List<Attachment>) - Method in class org.mule.munit.common.model.Event
 
setOutboundProperties(List<Property>) - Method in class org.mule.munit.common.model.Event
 
setPayload(Payload) - Method in class org.mule.munit.common.model.Event
 
setRunToken(String) - Method in class org.mule.munit.common.protocol.notifiers.RunMessageNotifier
 
setSessionProperties(List<Property>) - Method in class org.mule.munit.common.model.Event
 
setThenCall(FlowName) - Method in class org.mule.munit.common.model.Answer
 
setThenReturn(Event) - Method in class org.mule.munit.common.model.Answer
 
setTypeId(String) - Method in class org.mule.munit.common.model.EventError
 
setValue(Object) - Method in class org.mule.munit.common.model.Attachment
 
setValue(Object) - Method in class org.mule.munit.common.model.DefaultTypedKeyValue
 
setValue(Object) - Method in class org.mule.munit.common.model.EventAttributes
 
setValue(Object) - Method in class org.mule.munit.common.model.Payload
 
setValue(Object) - Method in class org.mule.munit.common.model.Property
 
setValue(Object) - Method in interface org.mule.munit.common.model.TypedKeyValue
 
setVariables(List<Variable>) - Method in class org.mule.munit.common.model.Event
 
setWhereValue(Object) - Method in class org.mule.munit.common.model.Attribute
 
STACK_TRACE_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
StackTraceUtil - Class in org.mule.munit.common.util
Finds available port numbers in a specified range.
StackTraceUtil() - Constructor for class org.mule.munit.common.util.StackTraceUtil
 
STATUS_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
storeInitialSystemProperties() - Static method in class org.mule.munit.common.properties.MUnitUserPropertiesManager
 
SUITE_END - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
SUITE_START - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
SuiteRunEventListener - Interface in org.mule.munit.common.protocol.listeners
Classes implementing this interface handle the notification of Suite/Test run.

T

TAGS_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
TEST_END - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
TEST_NAMES_KEY - Static variable in class org.mule.munit.common.protocol.message.MessageField
 
TEST_START - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
TestStatus - Enum in org.mule.munit.common.protocol.message
The possible results of a test
toDataHandler(String, Object, MediaType) - Static method in class org.mule.munit.common.util.IOUtils
Transforms an Object into a DataHandler of its corresponding type.
toProperties(File) - Static method in class org.mule.munit.common.util.IOUtils
 
toProperties(URL) - Static method in class org.mule.munit.common.util.IOUtils
 
toString() - Method in class org.mule.munit.common.model.Attribute
 
TypedKeyValue - Interface in org.mule.munit.common.model
An interface for a key-value pair with mediaType and encoding

U

UNEXPECTED_ERROR - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
UNEXPECTED_SUITE_ERROR - Static variable in class org.mule.munit.common.protocol.message.MessageID
 
UntypedEventError - Class in org.mule.munit.common.model
This class exits to decouple the SDK model and the plain old model we use without SDK
UntypedEventError() - Constructor for class org.mule.munit.common.model.UntypedEventError
 

V

validate(Object) - Method in class org.mule.munit.common.util.MunitExpressionWrapper
 
value(Object) - Method in class org.mule.munit.common.event.DataTypeBuilder
 
value - Variable in class org.mule.munit.common.model.DefaultTypedKeyValue
 
valueOf(String) - Static method in enum org.mule.munit.common.protocol.message.TestStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.mule.munit.common.protocol.message.TestStatus
Returns an array containing the constants of this enum type, in the order they are declared.
Variable - Class in org.mule.munit.common.model
A model that represents a variable of a Mule Event
Variable() - Constructor for class org.mule.munit.common.model.Variable
 
VersionUtils - Class in org.mule.munit.common.util
Provides common functionality to handle MuleVersion
VersionUtils() - Constructor for class org.mule.munit.common.util.VersionUtils
 

W

withAttributes(Object) - Method in class org.mule.munit.common.event.EventBuilder
Sets the Message.getAttributes() value of the produced message
withAttributes(Object, String, String) - Method in class org.mule.munit.common.event.EventBuilder
Prepares a flow variable with the given key and value to be set in the product.
withAttributes(Object) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withAttributes(TypedValue) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withError(ErrorType, Throwable) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the error to be added to the event
withGroupCorrelation(GroupCorrelation) - Method in class org.mule.munit.common.event.EventBuilder
Configures the product event to have the provided correlation.
withInboundAttachment(String, DataHandler) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withInboundAttachments(Map<String, DataHandler>) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the outbound attachments with the given map.
withInboundAttachments(Map<String, DataHandler>) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withInboundProperties(Map<String, Serializable>) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the inbound properties with the given map.
withInboundProperties(Map<String, TypedValue<Serializable>>) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withInboundProperty(String, Serializable) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withInboundProperty(String, Object, String, String) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withMediaType(MediaType) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the given data to be sent as the mediaType of the payload of the Event to the configured flow.
withMediaType(MediaType) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withOutboundAttachment(String, DataHandler) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withOutboundAttachments(Map<String, DataHandler>) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the outbound attachments with the given map.
withOutboundAttachments(Map<String, DataHandler>) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withOutboundProperties(Map<String, Serializable>) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the outbound properties with the given map.
withOutboundProperties(Map<String, TypedValue<Serializable>>) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withOutboundProperty(String, Serializable) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withOutboundProperty(String, Object, String, String) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withPayload(Object) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the given data to be sent as the payload of the product.
withPayload(Object) - Method in class org.mule.munit.common.event.MessageBuilderDecorator
 
withReplyToHandler(ReplyToHandler) - Method in class org.mule.munit.common.event.EventBuilder
Configures the product event to have the provided ReplyToHandler.
withSessionProperties(Map<String, TypedValue<Serializable>>) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the session properties with the given map.
withSourceCorrelationId(String) - Method in class org.mule.munit.common.event.EventBuilder
Configures the product event to have the provided sourceCorrelationId.
withVariables(Map<String, Object>) - Method in class org.mule.munit.common.event.EventBuilder
Prepares the flow variables with the given map.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2020. All rights reserved.