For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

TestFileAttachmentDataEvent

File attachment data published by a test.

Since

9.4.0

Functions

Link copied to clipboard
abstract fun getLogTime(): Instant
The time the message was logged.
Link copied to clipboard
@Nullable
abstract fun getMediaType(): @Nullable String
Returns the media type of the attached file, or null if not specified.
Link copied to clipboard
abstract fun getPath(): Path
Returns the path to the attached file.