Class StartEnvironment

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

public class StartEnvironment extends Object
A start environment that contains the configurations that will be used to build a runtime org.eclipse.jetty.util.component.Environment via --env arguments passed to org.eclipse.jetty.xml.XmlConfiguration#main(java.lang.String...)
  • Method Details

    • addLibRef

      public void addLibRef(String lib)
    • addPropertyFileRef

      public void addPropertyFileRef(String arg)
    • addUniquePropertyFile

      public void addUniquePropertyFile(String propertyFileRef, Path propertyFile) throws IOException
      Throws:
      IOException
    • addUniqueXmlFile

      public void addUniqueXmlFile(String xmlRef, Path xmlfile) throws IOException
      Throws:
      IOException
    • addXmlRef

      public void addXmlRef(String arg)
    • dumpActiveXmls

      public void dumpActiveXmls(PrintStream out)
    • dumpProperties

      public void dumpProperties(PrintStream out)
    • getClasspath

      public Classpath getClasspath()
    • getName

      public String getName()
    • getProperties

      public Props getProperties()
    • getXmlFiles

      public List<Path> getXmlFiles()
    • resolve

      public void resolve() throws IOException
      Throws:
      IOException
    • resolveLibs

      public void resolveLibs() throws IOException
      Expand any command line added --libs lib references.
      Throws:
      IOException - if unable to expand the libraries
    • dumpProperty

      protected void dumpProperty(PrintStream out, String key)
    • getPropertyFiles

      protected List<Path> getPropertyFiles()
    • toString

      public String toString()
      Overrides:
      toString in class Object