public class StartDirBuilder extends java.lang.Object implements BaseBuilder.Config
${jetty.base}/start.d/
based configuration.
Implementation of the --add-to-startd=[name]
command line behavior
Modifier and Type | Field and Description |
---|---|
private BaseHome |
baseHome |
private java.nio.file.Path |
startDir |
Constructor and Description |
---|
StartDirBuilder(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 final BaseHome baseHome
private final java.nio.file.Path startDir
public StartDirBuilder(BaseBuilder baseBuilder) 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