private void notifyManagerOfBitIntegrityErrors(BitIntegrityReport report,
                                                   List<BitLogItem> errors) {

        String account = report.getAccount();
        String storeId = report.getStoreId();
        String spaceId = report.getSpaceId();

        String host = account + ".duracloud.org";

        String subject = "Bit Integrity Report #" + report.getId() + ": errors (count = " +
                         errors.size() + ")  detected on " + host + ", providerId=" + storeId +
                         ", spaceId=" + spaceId;

        StringBuilder body = new StringBuilder();

        body.append(BitIntegrityHelper.getHeader());
        for (BitLogItem error : errors) {
            body.append(BitIntegrityHelper.formatLogLine(error) + "\n");
        }

        this.notificationManager.sendEmail(subject, body.toString());
    }
private void notifyManagerOfBitIntegrityErrors ( BitIntegrityReport report , List < BitLogItem > errors ) { String account = report . getAccount ( ) ; String storeId = report . getStoreId ( ) ; String spaceId = report . getSpaceId ( ) ; String host = account + ".duracloud.org" ; String subject = "Bit Integrity Report #" + report . getId ( ) + ": errors (count = " + errors . size ( ) + ")  detected on " + host + ", providerId=" + storeId + ", spaceId=" + spaceId ; StringBuilder body = new StringBuilder ( ) ; body . append ( BitIntegrityHelper . getHeader ( ) ) ; for ( BitLogItem error : errors ) { body . append ( BitIntegrityHelper . formatLogLine ( error ) + "\n" ) ; } this . notificationManager . sendEmail ( subject , body . toString ( ) ) ; }
@param report
@param errors