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).Closuredoes not work because it is an abstract class, not an interface.CallableofVoiddoes not work because you have to return null.Runnabledoes not work because it throws no checked exceptions.Consumeris 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 voidrun(JenkinsRule r)
-
-
-
Method Detail
-
run
void run(JenkinsRule r) throws Throwable
- Throws:
Throwable
-
-