* Sets whether this request is complete.
*
* @param complete
- * <code>true</code> if this request is complete, false otherwise
+ * <code>true</code> if this request is complete, false
+ * otherwise
*/
void setComplete(boolean complete) {
this.complete = complete;
}
/**
- * Returns whether this request has fatally failed, i.e. repitition will not
- * cause the request to succeed.
+ * Returns whether this request has fatally failed, i.e. repitition will
+ * not cause the request to succeed.
*
* @return <code>true</code> if this request can not be made succeed by
* repeating, <code>false</code> otherwise
* @param totalBlocks
* This request’s total number of blocks
*/
- public void setTotalBlocks(int totalBlocks) {
+ void setTotalBlocks(int totalBlocks) {
this.totalBlocks = totalBlocks;
}
/**
- * Returns the number of required blocks. Any progress percentages should be
- * calculated against this value as 100%. Also, as long as
+ * Returns the number of required blocks. Any progress percentages should
+ * be calculated against this value as 100%. Also, as long as
* {@link #isFinalizedTotal()} returns {@code false} this value might
* change.
*
* @param requiredBlocks
* The number of required blocks
*/
- public void setRequiredBlocks(int requiredBlocks) {
+ void setRequiredBlocks(int requiredBlocks) {
this.requiredBlocks = requiredBlocks;
}
* @param succeededBlocks
* The number of succeeded blocks
*/
- public void setSucceededBlocks(int succeededBlocks) {
+ void setSucceededBlocks(int succeededBlocks) {
this.succeededBlocks = succeededBlocks;
}
* @param failedBlocks
* The number of failed blocks
*/
- public void setFailedBlocks(int failedBlocks) {
+ void setFailedBlocks(int failedBlocks) {
this.failedBlocks = failedBlocks;
}
* @param fatallyFailedBlocks
* The number of fatally failed blocks
*/
- public void setFatallyFailedBlocks(int fatallyFailedBlocks) {
+ void setFatallyFailedBlocks(int fatallyFailedBlocks) {
this.fatallyFailedBlocks = fatallyFailedBlocks;
}