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 ScreenshotPhotoNone -
Constructor Summary
Constructors Constructor Description ScreenshotPhoto(java.nio.file.Path pathToScreenshot) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)static ScreenshotPhotoforScreenshotAt(java.nio.file.Path screenshotPath)java.nio.file.PathgetPathToScreenshot()inthashCode()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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-