Interface WorkflowRunnable<T extends Throwable>

Type Parameters:
T - the type of exception that may be thrown
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface WorkflowRunnable<T extends Throwable>
A functional interface that represents an operation that takes no arguments, returns no result, and potentially throws a checked exception. This is similar to Java's Runnable but allows for checked exceptions.
Since:
1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Performs this operation.
  • Method Details

    • run

      void run() throws T
      Performs this operation.
      Throws:
      T - if the operation fails