Class JettyDistribution


  • public class JettyDistribution
    extends java.lang.Object
    A utility test class to locate a Jetty Distribution for testing purposes by searching:
    • The jetty.home system property
    • The JETTY_HOME environment variable
    • The working directory hierarchy with subdirectory jetty-distribution/target/home
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.nio.file.Path DISTRIBUTION  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.nio.file.Path get()  
      static void main​(java.lang.String... arg)  
      static java.nio.file.Path resolve​(java.lang.String path)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DISTRIBUTION

        public static final java.nio.file.Path DISTRIBUTION
    • Constructor Detail

      • JettyDistribution

        public JettyDistribution()
    • Method Detail

      • get

        public static java.nio.file.Path get()
      • resolve

        public static java.nio.file.Path resolve​(java.lang.String path)
      • main

        public static void main​(java.lang.String... arg)