Class MockScheduledTask

java.lang.Object
io.camunda.zeebe.test.exporter.MockScheduledTask
All Implemented Interfaces:
Runnable

@Deprecated(since="1.3.0", forRemoval=true) public class MockScheduledTask extends Object implements Runnable
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.3.0. See issue 8143 for more information.
Represents a single scheduled task through MockController#scheduleTask(Duration, Runnable). A call to its run() method will only execute the underlying task once.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    run()
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

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

    • getDelay

      public Duration getDelay()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setDelay

      public void setDelay(Duration delay)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getTask

      public Runnable getTask()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setTask

      public void setTask(Runnable task)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • run

      public void run()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      run in interface Runnable
    • wasExecuted

      public boolean wasExecuted()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • cancel

      public void cancel()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • isCanceled

      public boolean isCanceled()
      Deprecated, for removal: This API element is subject to removal in a future version.