Package org.jvnet.hudson.test
Class HudsonHomeLoader.Local
- java.lang.Object
-
- org.jvnet.hudson.test.HudsonHomeLoader.Local
-
- All Implemented Interfaces:
HudsonHomeLoader
- Enclosing interface:
- HudsonHomeLoader
public static final class HudsonHomeLoader.Local extends Object implements HudsonHomeLoader
Allocates a new directory by copying from a test resource
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description File
allocate()
Returns a directory to be used asJENKINS_HOME
static boolean
isJavaIdentifier(String name)
-
-
-
Method Detail
-
allocate
public File allocate() throws Exception
Description copied from interface:HudsonHomeLoader
Returns a directory to be used asJENKINS_HOME
- Specified by:
allocate
in interfaceHudsonHomeLoader
- Throws:
Exception
- to cause a test to fail.
-
isJavaIdentifier
public static boolean isJavaIdentifier(@CheckForNull String name)
-
-