Class ServerRoot.TestScope

java.lang.Object
com.ultikits.ultitools.utils.ServerRoot.TestScope
All Implemented Interfaces:
AutoCloseable
Enclosing class:
ServerRoot

@Internal public static final class ServerRoot.TestScope extends Object implements AutoCloseable
Lifetime of one in-process test server root.
  • Field Details

    • root

      private final File root
  • Constructor Details

    • TestScope

      private TestScope(File root)
  • Method Details

    • close

      public void close()
      Restores production resolution; closing an already closed handle does nothing.
      Specified by:
      close in interface AutoCloseable