Package com.yworkflow.common
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.
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
-
Method Details
-
run
void run() throws TPerforms this operation.- Throws:
T- if the operation fails
-