Package de.otto.jlineup.file
Class FileTracker
java.lang.Object
de.otto.jlineup.file.FileTracker
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileTracker(JobConfig jobConfig, ConcurrentHashMap<Integer, ScreenshotContextFileTracker> contexts, ConcurrentHashMap<BrowserStep, String> browsers) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddScreenshot(ScreenshotContext screenshotContext, String path, int yPosition) static FileTracker.BuildercopyOfBuilder(FileTracker copy) static FileTrackerstatic FileTracker.BuildergetScreenshotContextFileTracker(int hash) getScreenshotsForContext(int hash) booleanisContextAlreadyThere(ScreenshotContext screenshotContext) voidremoveContext(ScreenshotContext screenshotContext) voidsetBrowserAndVersion(ScreenshotContext screenshotContext, String browserAndVersion)
-
Field Details
-
jobConfig
-
contexts
-
browsers
-
-
Constructor Details
-
FileTracker
public FileTracker(JobConfig jobConfig, ConcurrentHashMap<Integer, ScreenshotContextFileTracker> contexts, ConcurrentHashMap<BrowserStep, String> browsers)
-
-
Method Details
-
fileTrackerBuilder
-
copyOfBuilder
-
getJobConfig
-
getContexts
-
getBrowsers
-
create
-
getScreenshotContextFileTracker
-
getScreenshotsForContext
- Throws:
IOException
-
addScreenshot
-
isContextAlreadyThere
-
setBrowserAndVersion
-
removeContext
-