public class DefaultOperationContext extends Object implements OperationContextAdapter
OperationContextAdapter which
adds additional information which is relevant to this implementation
of the extensions-api, even though it's not part of the API itself| Constructor and Description |
|---|
DefaultOperationContext(org.mule.extension.introspection.Extension extension,
org.mule.extension.introspection.Operation operation,
String configurationInstanceProviderName,
ResolverSetResult parameters,
MuleEvent event,
ExtensionManagerAdapter extensionManager)
Creates a new instance with the given state
|
| Modifier and Type | Method and Description |
|---|---|
<C> C |
getConfigurationInstance() |
MuleEvent |
getEvent()
Returns the
MuleEvent on which
an operation is to be executed |
org.mule.extension.introspection.Operation |
getOperation() |
Object |
getParameterValue(String parameterName) |
public DefaultOperationContext(org.mule.extension.introspection.Extension extension, org.mule.extension.introspection.Operation operation, String configurationInstanceProviderName, ResolverSetResult parameters, MuleEvent event, ExtensionManagerAdapter extensionManager)
operation - the Operation that will be executedparameters - the parameters that the operation will useevent - the current MuleEventextensionManager - the ExtensionManagerAdapter on which the Extension that owns the Operation is registeredpublic <C> C getConfigurationInstance()
getConfigurationInstance in interface org.mule.extension.runtime.OperationContextpublic org.mule.extension.introspection.Operation getOperation()
getOperation in interface org.mule.extension.runtime.OperationContextpublic Object getParameterValue(String parameterName)
getParameterValue in interface org.mule.extension.runtime.OperationContextpublic MuleEvent getEvent()
OperationContextAdapterMuleEvent on which
an operation is to be executedgetEvent in interface OperationContextAdapterCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.