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 itselfConstructor 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 MuleEvent
extensionManager
- the ExtensionManagerAdapter
on which the Extension
that owns the Operation
is registeredpublic <C> C getConfigurationInstance()
getConfigurationInstance
in interface org.mule.extension.runtime.OperationContext
public org.mule.extension.introspection.Operation getOperation()
getOperation
in interface org.mule.extension.runtime.OperationContext
public Object getParameterValue(String parameterName)
getParameterValue
in interface org.mule.extension.runtime.OperationContext
public MuleEvent getEvent()
OperationContextAdapter
MuleEvent
on which
an operation is to be executedgetEvent
in interface OperationContextAdapter
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.