public class StartIniBuilder extends java.lang.Object implements BaseBuilder.Config
${jetty.base}/start.ini
based configuration.
Implementation of the --add-to-start=[name]
command line behavior
Modifier and Type | Field and Description |
---|---|
private BaseHome |
baseHome |
private java.util.Set<java.lang.String> |
modulesPresent |
private java.util.Set<java.lang.String> |
propsPresent |
private java.nio.file.Path |
startIni |
Constructor and Description |
---|
StartIniBuilder(BaseBuilder baseBuilder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addModule(Module module,
Props props)
Add a module to the start environment in
${jetty.base} |
private void |
parseIni() |
private final BaseHome baseHome
private final java.nio.file.Path startIni
private java.util.Set<java.lang.String> modulesPresent
private java.util.Set<java.lang.String> propsPresent
public StartIniBuilder(BaseBuilder baseBuilder) throws java.io.IOException
java.io.IOException
private void parseIni() throws java.io.IOException
java.io.IOException
public java.lang.String addModule(Module module, Props props) throws java.io.IOException
BaseBuilder.Config
${jetty.base}
addModule
in interface BaseBuilder.Config
module
- the module to addprops
- The properties to substitute into a templatejava.io.IOException
- if unable to add the module