public static final class ApplyToModule.Builder
extends java.lang.Object
ApplyToModule.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependencyXml(java.lang.String moduleName,
java.lang.String xmlFragment)
Adds the given module dependency.
|
void |
addPropertyXml(java.lang.String name,
java.lang.String fragment)
Adds the given property.
|
ApplyToModule |
build()
Builds an instance of
ApplyToModule. |
ApplyToModule.Builder |
withExportsXml(java.lang.String fragment)
Adds the given exports XML fragment.
|
ApplyToModule.Builder |
withMainClassXml(java.lang.String fragment)
Adds the given main class XML fragment.
|
public ApplyToModule.Builder withMainClassXml(java.lang.String fragment)
fragment - the XML fragment.public void addPropertyXml(java.lang.String name,
java.lang.String fragment)
name - the name of the property.fragment - the XML fragment containing the property information.public void addDependencyXml(java.lang.String moduleName,
java.lang.String xmlFragment)
moduleName - the name of the module that is the dependency.xmlFragment - the XML fragment containing the dependency
information.public ApplyToModule.Builder withExportsXml(java.lang.String fragment)
fragment - the XML fragment.public ApplyToModule build()
ApplyToModule.