Class HudsonHomeLoader.CopyExisting

java.lang.Object
org.jvnet.hudson.test.HudsonHomeLoader.CopyExisting
All Implemented Interfaces:
HudsonHomeLoader
Enclosing interface:
HudsonHomeLoader

public static final class HudsonHomeLoader.CopyExisting extends Object implements HudsonHomeLoader
Allocates a new directory by copying from an existing directory, or unzipping from a zip file.
  • Constructor Details

    • CopyExisting

      public CopyExisting(File source) throws MalformedURLException
      Either a zip file or a directory that contains the home image.
      Throws:
      MalformedURLException
    • CopyExisting

      public CopyExisting(URL source)
      Extracts from a zip file in the resource.

      This is useful in case you want to have a test data in the resources. Only file URL is supported.

  • Method Details