Package org.jvnet.hudson.test
Interface RestartableJenkinsRule.Step
-
- Enclosing class:
- RestartableJenkinsRule
- 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 withRestartableJenkinsRule.then(org.jvnet.hudson.test.RestartableJenkinsRule.Step)
.Closure
does not work because it is an abstract class, not an interface.Callable
ofVoid
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(JenkinsRule r)
-
-
-
Method Detail
-
run
void run(JenkinsRule r) throws Throwable
- Throws:
Throwable
-
-