public class GetComments extends XMLRequest implements 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 |
---|---|
String |
getComments()
Returns the comments as String.
|
Iterator<GetComments.Comment> |
iterator() |
int |
size()
Returns the number of comments.
|
getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, send, showQuarantineNotification
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public GetComments(int runID)
runID
- runID of the taskpublic String getComments()
null
in case of an error.public Iterator<GetComments.Comment> iterator()
iterator
in interface Iterable<GetComments.Comment>
public int size()
Copyright © 2021. All rights reserved.