Class MetadataSource

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

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

    • STARTED

      public static boolean STARTED
    • type

      @MetadataKeyId @Parameter public String type
  • Constructor Details

    • MetadataSource

      public MetadataSource()
  • 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
    • 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>