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.
gradle
Toggle table of contents
9.9.2
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.api.tasks.testing
/
TestFileAttachmentDataEvent
Test
File
Attachment
Data
Event
API
@
Incubating
@
NullMarked
interface
TestFileAttachmentDataEvent
:
TestMetadataEvent
(
source
)
File attachment data published by a test.
Since
9.4.0
Members
Functions
get
Log
Time
Link copied to clipboard
API
abstract
fun
getLogTime
(
)
:
Instant
The time the message was logged.
get
Media
Type
Link copied to clipboard
API
@
Nullable
abstract
fun
getMediaType
(
)
:
@
Nullable
String
Returns the media type of the attached file, or null if not specified.
get
Path
Link copied to clipboard
API
abstract
fun
getPath
(
)
:
Path
Returns the path to the attached file.