Class FilesystemAttachmentListener
- java.lang.Object
-
- de.bmiag.tapir.execution.attachment.FilesystemAttachmentListener
-
- All Implemented Interfaces:
AttachmentListener
@Component("tapirFilesystemAttachmentListener") public class FilesystemAttachmentListener extends java.lang.Object implements AttachmentListener
Implementation ofAttachmentListener
which writes the attachment to a temporary directory in the filesystem. The location is reported at info level by using thelogger
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Constructor Summary
Constructors Constructor Description FilesystemAttachmentListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachmentAdded(TestStep testStep, Attachment attachment)
Called whenever an attachment is added.
-
-
-
Method Detail
-
attachmentAdded
public void attachmentAdded(TestStep testStep, Attachment attachment)
Description copied from interface:AttachmentListener
Called whenever an attachment is added.- Specified by:
attachmentAdded
in interfaceAttachmentListener
- Parameters:
testStep
- the current test stepattachment
- The attachment which has been added- Since:
- 2.0.0
-
-