|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.hudson.test.HudsonHomeLoader.CopyExisting
public static final class HudsonHomeLoader.CopyExisting
Allocates a new directory by copying from an existing directory, or unzipping from a zip file.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jvnet.hudson.test.HudsonHomeLoader |
|---|
HudsonHomeLoader.CopyExisting, HudsonHomeLoader.Local |
| Field Summary |
|---|
| Fields inherited from interface org.jvnet.hudson.test.HudsonHomeLoader |
|---|
NEW |
| Constructor Summary | |
|---|---|
HudsonHomeLoader.CopyExisting(java.io.File source)
Either a zip file or a directory that contains the home image. |
|
HudsonHomeLoader.CopyExisting(java.net.URL source)
Extracts from a zip file in the resource. |
|
| Method Summary | |
|---|---|
java.io.File |
allocate()
Returns a directory to be used as HUDSON_HOME |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HudsonHomeLoader.CopyExisting(java.io.File source)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic HudsonHomeLoader.CopyExisting(java.net.URL source)
This is useful in case you want to have a test data in the resources. Only file URL is supported.
| Method Detail |
|---|
public java.io.File allocate()
throws java.lang.Exception
HudsonHomeLoader
allocate in interface HudsonHomeLoaderjava.lang.Exception - to cause a test to fail.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||