Class 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

    • 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}
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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:
        java.io.IOException - if unable to add the module