public static final class ApplyToModule.Builder extends Object
ApplyToModule.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDependencyXml(String moduleName,
String xmlFragment)
Adds the given module dependency.
|
void |
addPropertyXml(String name,
String fragment)
Adds the given property.
|
void |
addResourceRootXml(String value) |
ApplyToModule |
build()
Builds an instance of
ApplyToModule. |
ApplyToModule.Builder |
withExportsXml(String fragment)
Adds the given exports XML fragment.
|
ApplyToModule.Builder |
withMainClassXml(String fragment)
Adds the given main class XML fragment.
|
public ApplyToModule.Builder withMainClassXml(String fragment)
fragment - the XML fragment.public void addPropertyXml(String name, String fragment)
name - the name of the property.fragment - the XML fragment containing the property information.public void addResourceRootXml(String value)
public void addDependencyXml(String moduleName, String xmlFragment)
moduleName - the name of the module that is the dependency.xmlFragment - the XML fragment containing the dependency
information.public ApplyToModule.Builder withExportsXml(String fragment)
fragment - the XML fragment.public ApplyToModule build()
ApplyToModule.Copyright © 2013–2019 FuseSource. All rights reserved.