Class MetadataSourceWithCallbackParameters

java.lang.Object
org.mule.runtime.extension.api.runtime.source.Source<Map<String,Object>,org.mule.tck.message.StringAttributes>
org.mule.test.metadata.extension.MetadataSourceWithCallbackParameters

@MetadataScope(keysResolver=TestInputOutputSourceResolverWithKeyResolver.class, outputResolver=TestInputAndOutputWithAttributesResolverWithKeyResolver.class) public class MetadataSourceWithCallbackParameters extends org.mule.runtime.extension.api.runtime.source.Source<Map<String,Object>,org.mule.tck.message.StringAttributes>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static boolean
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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>,org.mule.tck.message.StringAttributes> sourceCallback)
     
    void
     
    void
    onSuccess(SuccessResponse successResponse, Object successObject, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext, org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • STARTED

      public static boolean STARTED
    • type

      @MetadataKeyId @Parameter public String type
  • Constructor Details

    • MetadataSourceWithCallbackParameters

      public MetadataSourceWithCallbackParameters()
  • Method Details

    • onStart

      public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<Map<String,Object>,org.mule.tck.message.StringAttributes> sourceCallback) throws org.mule.runtime.api.exception.MuleException
      Specified by:
      onStart in class org.mule.runtime.extension.api.runtime.source.Source<Map<String,Object>,org.mule.tck.message.StringAttributes>
      Throws:
      org.mule.runtime.api.exception.MuleException
    • onSuccess

      @OnSuccess public void onSuccess(@ParameterGroup(name="Response",showInDsl=true) SuccessResponse successResponse, @TypeResolver(TestMetadataInputCarResolver.class) Object successObject, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext, org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
    • onError

      @OnError public void onError(@ParameterGroup(name="Error Response",showInDsl=true) ErrorResponse errorResponse, @TypeResolver(TestInputResolver.class) Object errorObject, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext, org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
    • onStop

      public void onStop()
      Specified by:
      onStop in class org.mule.runtime.extension.api.runtime.source.Source<Map<String,Object>,org.mule.tck.message.StringAttributes>