Skip to content

FilesystemArtifactStore

This docs was updated at: 2026-03-21

com.paragon.harness.FilesystemArtifactStore  ยท  Class

Implements ArtifactStore


Filesystem-backed implementation of ArtifactStore.

Artifacts are stored as files in the pattern:

baseDir/{name}/{version}.txt

Versions are epoch-millisecond timestamps. The "latest" version is the file with the highest timestamp. Atomic writes are used to prevent partial file reads.

See Also

  • ArtifactStore

Since: 1.0

Methods

create

public static @NonNull FilesystemArtifactStore create(@NonNull Path baseDir)

Creates a FilesystemArtifactStore rooted at baseDir.

Parameters

Name Description
baseDir the directory to store artifacts in

Returns

a new store instance