public class TaskCancelResult extends AbstractTaskResult
TaskCancelResult is used to report the results
of a task cancel attempt. It contains the ID of the task to be canceled, a return code and
a description. In case of an error during the cancel operation the description includes an error message.AbstractTaskResult.ReturnCode| Constructor and Description |
|---|
TaskCancelResult()
Constructs an empty task cancel result.
|
TaskCancelResult(ExecutionVertexID vertexID,
AbstractTaskResult.ReturnCode returnCode)
Constructs a new task cancel result.
|
getDescription, getReturnCode, getVertexID, read, setDescription, writepublic TaskCancelResult(ExecutionVertexID vertexID, AbstractTaskResult.ReturnCode returnCode)
vertexID - the task ID this result belongs toreturnCode - the return code of the cancelpublic TaskCancelResult()
Copyright © 2014 The Apache Software Foundation. All rights reserved.