Class AttachmentPublisher.Data
java.lang.Object
hudson.tasks.junit.TestResultAction.Data
hudson.plugins.junitattachments.AttachmentPublisher.Data
- Enclosing class:
AttachmentPublisher
public static class AttachmentPublisher.Data
extends hudson.tasks.junit.TestResultAction.Data
-
Constructor Summary
ConstructorsConstructorDescriptionData(Map<String, Map<String, List<String>>> attachmentsMap, Boolean showAttachmentsAtClassLevel, Boolean showAttachmentsInStdOut, List<String> enclosingBlocks) Deprecated.Data(Map<String, Map<String, List<String>>> attachmentsMap, Boolean showAttachmentsAtClassLevel, Boolean showAttachmentsInStdOut, List<String> enclosingBlocks, boolean storedViaArtifactManager) -
Method Summary
Modifier and TypeMethodDescriptionList<hudson.tasks.junit.TestAction> getTestAction(hudson.tasks.junit.TestObject t) boolean
-
Constructor Details
-
Data
@Deprecated public Data(Map<String, Map<String, List<String>>> attachmentsMap, Boolean showAttachmentsAtClassLevel, Boolean showAttachmentsInStdOut, List<String> enclosingBlocks) Deprecated.useData(Map, Boolean, Boolean, List, boolean); attachments constructed via this constructor are always resolved from the legacy, filesystem-based storage location.- Parameters:
attachmentsMap- { fully-qualified test class name → { test method name → [ attachment file name ] } }showAttachmentsAtClassLevel- Whether to display test case attachments at the test class levelenclosingBlocks- Pipeline enclosing stages/blocks used to namespace storage and filter actions
-
Data
public Data(Map<String, Map<String, List<String>>> attachmentsMap, Boolean showAttachmentsAtClassLevel, Boolean showAttachmentsInStdOut, List<String> enclosingBlocks, boolean storedViaArtifactManager) - Parameters:
attachmentsMap- { fully-qualified test class name → { test method name → [ attachment file name ] } }showAttachmentsAtClassLevel- Whether to display test case attachments at the test class levelenclosingBlocks- Pipeline enclosing stages/blocks used to namespace storage and filter actionsstoredViaArtifactManager- whether the referenced attachments were published through the build'sArtifactManager
-
-
Method Details
-
isStoredViaArtifactManager
public boolean isStoredViaArtifactManager() -
getTestAction
- Specified by:
getTestActionin classhudson.tasks.junit.TestResultAction.Data
-
Data(Map, Boolean, Boolean, List, boolean); attachments constructed via this constructor are always resolved from the legacy, filesystem-based storage location.