@MetadataScope(keysResolver=TestInputOutputSourceResolverWithKeyResolver.class, outputResolver=TestInputAndOutputWithAttributesResolverWithKeyResolver.class) public class MetadataSourceWithCallbackParameters extends org.mule.runtime.extension.api.runtime.source.Source<Map<String,Object>,StringAttributes>
| Constructor and Description |
|---|
MetadataSourceWithCallbackParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(ErrorResponse errorResponse,
Object errorObject,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback) |
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<Map<String,Object>,StringAttributes> sourceCallback) |
void |
onStop() |
void |
onSuccess(SuccessResponse successResponse,
Object successObject,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback) |
public static boolean STARTED
@MetadataKeyId @Parameter public String type
public MetadataSourceWithCallbackParameters()
public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<Map<String,Object>,StringAttributes> sourceCallback) throws org.mule.runtime.api.exception.MuleException
onStart in class org.mule.runtime.extension.api.runtime.source.Source<Map<String,Object>,StringAttributes>org.mule.runtime.api.exception.MuleException@OnSuccess
public void onSuccess(@ParameterGroup(name="Response",showInDsl=true)
SuccessResponse successResponse,
@TypeResolver(value=TestMetadataInputCarResolver.class)
Object successObject,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
@OnError
public void onError(@ParameterGroup(name="Error Response",showInDsl=true)
ErrorResponse errorResponse,
@TypeResolver(value=TestInputResolver.class)
Object errorObject,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
public void onStop()
onStop in class org.mule.runtime.extension.api.runtime.source.Source<Map<String,Object>,StringAttributes>Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.