@DefaultCoder(value=SerializableCoder.class) public final class SuccessOrFailure extends java.lang.Object implements java.io.Serializable
PAssert
. Passed to a conclude function to act upon.Modifier and Type | Method and Description |
---|---|
java.lang.AssertionError |
assertionError() |
static SuccessOrFailure |
failure(PAssert.PAssertionSite site,
java.lang.Throwable t) |
boolean |
isSuccess() |
static SuccessOrFailure |
success() |
java.lang.String |
toString() |
public boolean isSuccess()
@Nullable public java.lang.AssertionError assertionError()
public static SuccessOrFailure success()
public static SuccessOrFailure failure(@Nullable PAssert.PAssertionSite site, @Nullable java.lang.Throwable t)
public java.lang.String toString()
toString
in class java.lang.Object