Class TestOAuthRefreshPollingSource

java.lang.Object
org.mule.runtime.extension.api.runtime.source.Source<T,A>
org.mule.runtime.extension.api.runtime.source.PollingSource<String,String>
org.mule.test.oauth.TestOAuthRefreshPollingSource

@MediaType("text/plain") @Alias("poller") public class TestOAuthRefreshPollingSource extends org.mule.runtime.extension.api.runtime.source.PollingSource<String,String>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class org.mule.runtime.extension.api.runtime.source.PollingSource

    IDS_ON_UPDATED_WATERMARK_OS_NAME_SUFFIX, OS_NAME_MASK, OS_NAME_PREFIX, RECENTLY_PROCESSED_IDS_OS_NAME_SUFFIX, UPDATED_WATERMARK_ITEM_OS_KEY, WATERMARK_ITEM_OS_KEY, WATERMARK_OS_NAME_SUFFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected void
     
    void
    onRejectedItem(org.mule.runtime.extension.api.runtime.operation.Result<String,String> result, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext)
     
    void
    poll(org.mule.runtime.extension.api.runtime.source.PollContext<String,String> pollContext)
     

    Methods inherited from class org.mule.runtime.extension.api.runtime.source.PollingSource

    onStart, onStop

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • TestOAuthRefreshPollingSource

      public TestOAuthRefreshPollingSource()
  • Method Details

    • doStart

      protected void doStart() throws org.mule.runtime.api.exception.MuleException
      Specified by:
      doStart in class org.mule.runtime.extension.api.runtime.source.PollingSource<String,String>
      Throws:
      org.mule.runtime.api.exception.MuleException
    • doStop

      protected void doStop()
      Specified by:
      doStop in class org.mule.runtime.extension.api.runtime.source.PollingSource<String,String>
    • poll

      public void poll(org.mule.runtime.extension.api.runtime.source.PollContext<String,String> pollContext)
      Specified by:
      poll in class org.mule.runtime.extension.api.runtime.source.PollingSource<String,String>
    • onRejectedItem

      public void onRejectedItem(org.mule.runtime.extension.api.runtime.operation.Result<String,String> result, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext)
      Specified by:
      onRejectedItem in class org.mule.runtime.extension.api.runtime.source.PollingSource<String,String>