de.smartics.maven.plugin.buildmetadata.io
Class SdocBuilder
java.lang.Object
de.smartics.maven.plugin.buildmetadata.io.SdocBuilder
-
public final class SdocBuilder
-
extends
Object
Creates an XML report with the build meta data. The report contains the same information as the build.properties
file. It is useful for use cases where the build meta data information will be further processed by XSL transformations which require XML documents as input.
-
Author:
-
Robert Reiner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SdocBuilder
public SdocBuilder(Document document,
Properties buildMetaDataProperties,
List<Property> selectedProperties)
-
Default constructor.
-
Parameters:
-
document
- the empty document to write to.
-
buildMetaDataProperties
- the properties to write to the XML report.
-
selectedProperties
- the list of a system properties or environment variables to be selected by the user to include into the build meta data properties.
writeDocumentContent
public Document writeDocumentContent()
throws IOException
-
Writes the content to the document.
-
-
Returns:
-
the written XML document.
-
Throws:
-
IOException
- on any problem writing to the XML document.
Copyright © 2006-2012
Kronseder & Reiner GmbH - smartics. All Rights Reserved.