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.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
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. |
Method details
Section titled “Method details”isUpdate
Section titled “isUpdate”boolean isUpdate() static
If true, the property joid.snapshot.update is set: every render replaces its reference.
isRecord
Section titled “isRecord”boolean isRecord() static
If true, the property joid.snapshot.record is set: a shot without a reference becomes its reference.
getOutput
Section titled “getOutput”File getOutput() static
Returns the folder of the renders and of the report, joid.snapshot.output, build/snapshots/renders by default.
getReferences
Section titled “getReferences”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
