public class JobProgressResult extends AbstractJobResult
JobProgressResult is used to report the current progress
of a job.AbstractJobResult.ReturnCode| Constructor and Description |
|---|
JobProgressResult()
Empty constructor used for object deserialization.
|
JobProgressResult(AbstractJobResult.ReturnCode returnCode,
String description,
SerializableArrayList<AbstractEvent> events)
Constructs a new job progress result object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Iterator<AbstractEvent> |
getEvents()
Returns an iterator to the list of events transported within this job progress result object.
|
int |
hashCode() |
void |
read(DataInputView in) |
void |
write(DataOutputView out) |
getDescription, getReturnCodepublic JobProgressResult(AbstractJobResult.ReturnCode returnCode, String description, SerializableArrayList<AbstractEvent> events)
returnCode - the return code that shall be carried by this result objectdescription - the description of the job statusevents - the job events to be transported within this objectpublic JobProgressResult()
public void read(DataInputView in) throws IOException
read in interface IOReadableWritableread in class AbstractJobResultIOExceptionpublic void write(DataOutputView out) throws IOException
write in interface IOReadableWritablewrite in class AbstractJobResultIOExceptionpublic Iterator<AbstractEvent> getEvents()
public boolean equals(Object obj)
equals in class AbstractJobResultpublic int hashCode()
hashCode in class AbstractJobResultCopyright © 2015 The Apache Software Foundation. All rights reserved.