public class StabilityResult extends Object
| Modifier and Type | Field and Description |
|---|---|
Throwable |
cause
The cause.
|
boolean |
isStable
Whether or not the check has found a stable state.
|
String |
reason
The reason.
|
| Modifier and Type | Method and Description |
|---|---|
static StabilityResult |
notAvailable() |
static StabilityResult |
stable() |
static StabilityResult |
unstable(String reason)
Creates a result when stability cannot be reached.
|
static StabilityResult |
unstable(String reason,
Throwable cause)
Creates a result when stability cannot be reached.
|
static StabilityResult |
unstable(Throwable cause)
Creates a result when stability cannot be reached.
|
public final boolean isStable
public final String reason
null on stability.public final Throwable cause
null on stability.public static StabilityResult stable()
public static StabilityResult notAvailable()
public static StabilityResult unstable(String reason)
reason - the reason of instability.public static StabilityResult unstable(Throwable cause)
cause - the cause of instability.public static StabilityResult unstable(String reason, Throwable cause)
reason - the reason of instability.cause - the cause of instability.Copyright © 2009–2015 OW2 Chameleon. All rights reserved.