Class 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

    • Method Detail

      • addModule

        public String addModule​(Module module,
                                Props props)
                         throws IOException
        Description copied from interface: BaseBuilder.Config
        Add a module to the start environment in ${jetty.base}
        Specified by:
        addModule in interface BaseBuilder.Config
        Parameters:
        module - the module to add
        props - 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