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