public class GetComments extends XMLRequest implements java.lang.Iterable<GetComments.Comment>
Modifier and Type | Class and Description |
---|---|
static class |
GetComments.Comment
This class represents a single comment from one user.
|
Constructor and Description |
---|
GetComments(int runID)
Returns all comments for the specified task.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComments()
Returns the comments as String.
|
java.util.Iterator<GetComments.Comment> |
iterator() |
int |
size()
Returns the number of comments.
|
getMessageBox, getRequestID, handleResponse, send
public GetComments(int runID)
runID
- runID of the taskpublic java.lang.String getComments()
null
in case of an error.public java.util.Iterator<GetComments.Comment> iterator()
iterator
in interface java.lang.Iterable<GetComments.Comment>
public int size()