Skip to content

SnapshotSettings

final class SnapshotSettings
Package: dev.joid.test.snapshot · Module: tool-testkit · Source: SnapshotSettings.java

The system properties of a snapshot run: where the references and the renders go, and whether the references are recorded.

ReturnsSignatureSummary
booleanisUpdate() staticIf true, the property joid.snapshot.update is set: every render replaces its reference.
booleanisRecord() staticIf true, the property joid.snapshot.record is set: a shot without a reference becomes its reference.
FilegetOutput() staticReturns the folder of the renders and of the report, joid.snapshot.output, build/snapshots/renders by default.
FilegetReferences() staticReturns the folder of the references, joid.snapshot.references, .snapshots/references by default.

boolean isUpdate() static

If true, the property joid.snapshot.update is set: every render replaces its reference.

boolean isRecord() static

If true, the property joid.snapshot.record is set: a shot without a reference becomes its reference.

File getOutput() static

Returns the folder of the renders and of the report, joid.snapshot.output, build/snapshots/renders by default.

File getReferences() static

Returns the folder of the references, joid.snapshot.references, .snapshots/references by default.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page