Package org.eclipse.jetty.start.builders
Class StartDirBuilder
- java.lang.Object
-
- org.eclipse.jetty.start.builders.StartDirBuilder
-
- All Implemented Interfaces:
BaseBuilder.Config
public class StartDirBuilder extends Object implements BaseBuilder.Config
Management of the${jetty.base}/start.d/based configuration.Implementation of the
--add-to-startd=[name]command line behavior
-
-
Constructor Summary
Constructors Constructor Description StartDirBuilder(BaseBuilder baseBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddModule(Module module, Props props)Add a module to the start environment in${jetty.base}
-
-
-
Constructor Detail
-
StartDirBuilder
public StartDirBuilder(BaseBuilder baseBuilder) throws IOException
- Throws:
IOException
-
-
Method Detail
-
addModule
public String addModule(Module module, Props props) throws IOException
Description copied from interface:BaseBuilder.ConfigAdd a module to the start environment in${jetty.base}- Specified by:
addModulein 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:
IOException- if unable to add the module
-
-