Package org.eclipse.jetty.start.builders
Class StartIniBuilder
- java.lang.Object
-
- org.eclipse.jetty.start.builders.StartIniBuilder
-
- All Implemented Interfaces:
BaseBuilder.Config
public class StartIniBuilder extends java.lang.Object implements BaseBuilder.Config
Management of the${jetty.base}/start.ini
based configuration.Implementation of the
--add-to-start=[name]
command line behavior
-
-
Constructor Summary
Constructors Constructor Description StartIniBuilder(BaseBuilder baseBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
addModule(Module module, Props props)
Add a module to the start environment in${jetty.base}
-
-
-
Constructor Detail
-
StartIniBuilder
public StartIniBuilder(BaseBuilder baseBuilder) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
addModule
public java.lang.String addModule(Module module, Props props) throws java.io.IOException
Description copied from interface:BaseBuilder.Config
Add a module to the start environment in${jetty.base}
- Specified by:
addModule
in interfaceBaseBuilder.Config
- Parameters:
module
- the module to addprops
- The properties to substitute into a template- Returns:
- The ini file if module was added, null if module was not added.
- Throws:
java.io.IOException
- if unable to add the module
-
-