api / org.gradle.plugins.ear.descriptor / EarModule / toXmlNode

toXmlNode

abstract fun toXmlNode(parentModule: Node, name: Any): Node

Convert this object to an XML Node (or two nodes if altDeployDescriptor is not null).

Parameters

parentModule - The parent <module> node to add this node to.

name - The name of this node.

Return
The new node. If an <alt-dd> node is created it is not returned.