Class BaseBuilder

java.lang.Object
org.eclipse.jetty.start.BaseBuilder

public class BaseBuilder extends Object
Build a start configuration in ${jetty.base}, including ini files, directories, and libs. Also handles License management.
  • Field Details

  • Constructor Details

  • Method Details

    • build

      public boolean build() throws IOException
      Build out the Base directory (if needed)
      Returns:
      true if base directory was changed, false if left unchanged.
      Throws:
      IOException - if unable to build
    • getBaseHome

      public BaseHome getBaseHome()
    • getStartArgs

      public StartArgs getStartArgs()
    • processFileResource

      private boolean processFileResource(FileArg arg) throws IOException
      Process a specific file resource
      Parameters:
      arg - the fileArg to work with
      Returns:
      true if change was made as a result of the file, false if no change made.
      Throws:
      IOException - if there was an issue in processing this file
    • processFileResources

      private boolean processFileResources(List<FileArg> files) throws IOException
      Process the FileArg for startup, assume that all licenses have been acknowledged at this stage.
      Parameters:
      files - the list of FileArgs to process
      Returns:
      true if base directory modified, false if left untouched
      Throws:
      IOException