public interface FailureStrategy
| Modifier and Type | Interface and Description |
|---|---|
static class |
FailureStrategy.NullFailureStrategy |
| Modifier and Type | Method and Description |
|---|---|
void |
runWithPossibleFailure(Runnable inner) |
<T> T |
runWithPossibleFailure(Supplier<T> inner)
An interface for simulating failure or success, happening randomly or in a prescribed order.
|
<T> T runWithPossibleFailure(Supplier<T> inner)
void runWithPossibleFailure(Runnable inner)
Copyright © 2019 Atlassian. All rights reserved.