Interface RestartableJenkinsRule.Step

Enclosing class:
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 RestartableJenkinsRule.Step
One step to run, intended to be a SAM for lambdas with RestartableJenkinsRule.then(org.jvnet.hudson.test.RestartableJenkinsRule.Step). Closure does not work because it is an abstract class, not an interface. Callable of Void does not work because you have to return null. Runnable does not work because it throws no checked exceptions. Consumer is the same, and is not present in Java 7. Other candidates had similar issues.
  • Method Summary

    Modifier and Type