Package net.serenitybdd.core.photography
Class ScreenshotPhoto
java.lang.Object
net.serenitybdd.core.photography.ScreenshotPhoto
public class ScreenshotPhoto
extends java.lang.Object
A screenshot taken by a photographer.
-
Field Summary
Fields Modifier and Type Field Description static ScreenshotPhoto
None
-
Constructor Summary
Constructors Constructor Description ScreenshotPhoto(java.nio.file.Path pathToScreenshot)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
static ScreenshotPhoto
forScreenshotAt(java.nio.file.Path screenshotPath)
java.nio.file.Path
getPathToScreenshot()
int
hashCode()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
None
-
-
Constructor Details
-
ScreenshotPhoto
public ScreenshotPhoto(java.nio.file.Path pathToScreenshot)
-
-
Method Details
-
getPathToScreenshot
public java.nio.file.Path getPathToScreenshot() -
forScreenshotAt
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-