Class CancelableTaskHolder
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.CancelableTaskHolder
-
- All Implemented Interfaces:
CancelCheck
public class CancelableTaskHolder extends Object implements CancelCheck
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.serverSide.impl.CancelCheck
NONE
-
-
Constructor Summary
Constructors Constructor Description CancelableTaskHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cancel()
ExecutionException
getExecutionException()
boolean
isCancelled()
boolean
isExecutionFailed()
void
setException(Throwable ex)
-
-
-
Method Detail
-
setException
public void setException(Throwable ex)
-
cancel
public boolean cancel()
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interfaceCancelCheck
- Returns:
- true if the corresponding operation was actually cancelled
-
isExecutionFailed
public boolean isExecutionFailed()
-
getExecutionException
public ExecutionException getExecutionException()
-
-