Interface PluginTaskOutcome.ResultsFactory

Enclosing class:
PluginTaskOutcome
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 static interface PluginTaskOutcome.ResultsFactory
Builds the results for a translated outcome. DefaultTaskExecutionContext::toResults satisfies it; taking a function rather than the context keeps this translation testable without a live type system, and keeps the outcome unaware of where results come from.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Integer resumeDelaySeconds, boolean awaitSignal)