public static final class HudsonHomeLoader.CopyExisting extends Object implements HudsonHomeLoader
HudsonHomeLoader.CopyExisting, HudsonHomeLoader.LocalNEW| Constructor and Description |
|---|
HudsonHomeLoader.CopyExisting(File source)
Either a zip file or a directory that contains the home image.
|
HudsonHomeLoader.CopyExisting(URL source)
Extracts from a zip file in the resource.
|
public HudsonHomeLoader.CopyExisting(File source) throws MalformedURLException
MalformedURLExceptionpublic HudsonHomeLoader.CopyExisting(URL source)
This is useful in case you want to have a test data in the resources. Only file URL is supported.
public File allocate() throws Exception
HudsonHomeLoaderallocate in interface HudsonHomeLoaderException - to cause a test to fail.Copyright © 2004-2014. All Rights Reserved.