java.lang.Object
org.junit.platform.engine.reporting.FileEntry
FileEntry encapsulates a file or directory to be published to the
reporting infrastructure.- Since:
- 1.12
- See Also:
-
Method Details
-
from
Factory for creating a newFileEntryfrom the supplied path and media type.- Parameters:
path- the path to publish; nevernullmediaType- the media type of the path to publish; may benull
-
getTimestamp
Get the timestamp for when thisFileEntrywas created.- Returns:
- when this entry was created; never
null
-
getPath
Get the path to be published.- Returns:
- the path to publish; never
null
-
getMediaType
Get the media type of the path to be published.- Returns:
- the media type of the path to publish; never
null
-
toString
-