Package hudson.plugins.junitattachments
Class GetTestDataMethodObject
- java.lang.Object
-
- hudson.plugins.junitattachments.GetTestDataMethodObject
-
public class GetTestDataMethodObject extends Object
This class is a helper forhudson.tasks.junit.TestDataPublisher.getTestData(AbstractBuild<?, ?>, Launcher, BuildListener, TestResult)
.- Author:
- mfriedenhagen, Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description GetTestDataMethodObject(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult)
Deprecated.GetTestDataMethodObject(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Map<String,List<String>>>
getAttachments()
Returns a Map of classname vs.
-
-
-
Constructor Detail
-
GetTestDataMethodObject
@Deprecated public GetTestDataMethodObject(AbstractBuild<?,?> build, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult)
Deprecated.- Parameters:
build
- seebuild
testResult
- seetestResult
-
GetTestDataMethodObject
public GetTestDataMethodObject(Run<?,?> build, @NonNull FilePath workspace, Launcher launcher, TaskListener listener, hudson.tasks.junit.TestResult testResult)
- Parameters:
build
- seebuild
testResult
- seetestResult
-
-
Method Detail
-
getAttachments
public Map<String,Map<String,List<String>>> getAttachments() throws IllegalStateException, IOException, InterruptedException
Returns a Map of classname vs. the stored attachments in a directory named as the test class.- Returns:
- the map
- Throws:
InterruptedException
IOException
IllegalStateException
InterruptedException
-
-