protected void writeDeployments ( List < DeploymentReport > deploymentReports ) throws IOException { for ( DeploymentReport deploymentReport : deploymentReports ) { writer . append ( "[cols=\"3*\", options=\"header\"]" ) . append ( NEW_LINE ) ; writer . append ( "." ) . append ( this . resourceBundle . getString ( "asciidoc.reporter.deployment" ) ) . append ( NEW_LINE ) ; writer . append ( "|===" ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; writer . append ( "|NAME" ) . append ( NEW_LINE ) ; writer . append ( "|ARCHIVE" ) . append ( NEW_LINE ) ; writer . append ( "|ORDER" ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; writer . append ( "|" ) . append ( deploymentReport . getName ( ) ) . append ( NEW_LINE ) ; writer . append ( "|" ) . append ( deploymentReport . getArchiveName ( ) ) . append ( NEW_LINE ) ; writer . append ( "|" ) . append ( Integer . toString ( deploymentReport . getOrder ( ) ) ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; writer . append ( "|===" ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; if ( ! "_DEFAULT_" . equals ( deploymentReport . getProtocol ( ) ) ) { writer . append ( "NOTE: " ) . append ( deploymentReport . getProtocol ( ) ) . append ( NEW_LINE ) . append ( NEW_LINE ) ; } } }
Method that is called to write deployment information to AsciiDoc document .