Package io.camunda.zeebe.test.exporter
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 TypeMethodDescriptionvoidcancel()Deprecated, for removal: This API element is subject to removal in a future version.getDelay()Deprecated, for removal: This API element is subject to removal in a future version.getTask()Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.voidrun()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.
-
Method Details
-
getDelay
Deprecated, for removal: This API element is subject to removal in a future version. -
setDelay
Deprecated, for removal: This API element is subject to removal in a future version. -
getTask
Deprecated, for removal: This API element is subject to removal in a future version. -
setTask
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. -
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.
-