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 newFileEntry
from the supplied path and media type.- Parameters:
path
- the path to publish; nevernull
mediaType
- the media type of the path to publish; may benull
-
getTimestamp
Get the timestamp for when thisFileEntry
was 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
-