Package org.jacoco.cli.internal
Class XmlDocumentation
- java.lang.Object
-
- org.jacoco.cli.internal.XmlDocumentation
-
public final class XmlDocumentation extends java.lang.Object
Internal utility to dump all command descriptions as XML.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
XmlDocumentation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String... args)
Called during the build process.private static void
writeCommand(Command command, XMLElement parent)
private static void
writeOptions(XMLElement parent, java.util.List<org.kohsuke.args4j.spi.OptionHandler> list)
-
-
-
Method Detail
-
writeCommand
private static void writeCommand(Command command, XMLElement parent) throws java.io.IOException
- Throws:
java.io.IOException
-
writeOptions
private static void writeOptions(XMLElement parent, java.util.List<org.kohsuke.args4j.spi.OptionHandler> list) throws java.io.IOException
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String... args) throws java.io.IOException
Called during the build process.- Parameters:
args
- exactly one argument expected with the target location- Throws:
java.io.IOException
- if XML document cannot be written
-
-