public class CancelAttempt
extends java.lang.Object
Cancellable.setCancelled(boolean).| Constructor and Description |
|---|
CancelAttempt(boolean before,
boolean after,
java.lang.StackTraceElement[] stackTrace)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAfter()
Get the cancellation state after the call.
|
boolean |
getBefore()
Get the cancellation state before the call.
|
java.lang.StackTraceElement[] |
getStackTrace()
Get the stack trace.
|
public CancelAttempt(boolean before,
boolean after,
java.lang.StackTraceElement[] stackTrace)
before - The cancellation flag before the callafter - The cancellation flag after the callstackTrace - The stack tracepublic boolean getBefore()
public boolean getAfter()
public java.lang.StackTraceElement[] getStackTrace()