BedrockOutputPublication

public final class BedrockOutputPublication

Persistent authority for the backend Bedrock artifact set.

The ZIP and optional mappings file are not publishable merely because a path happens to exist. Only a completed conversion writes this marker, and every consumer validates the marker's hashes before serving or relaying the files. Consequently an undeletable stale ZIP remains inert after an authoritative withdrawal.

Types

Link copied to clipboard
public final class Snapshot extends Record

Properties

Link copied to clipboard
public final static String MARKER_NAME

Functions

Link copied to clipboard
public static BedrockOutputPublication.Snapshot current(File outputDir)
Returns the currently authorised and hash-verified artifact set.
Link copied to clipboard
public static void invalidateCache()
Clears metadata cache immediately before stable publication paths mutate.
Link copied to clipboard
public static boolean publishCurrent(File outputDir, BooleanSupplier cancellationRequested)
Authorises the current local artifact set after a successful conversion.
Link copied to clipboard
public static boolean revokeAuthority(File outputDir)
Revokes publication authority without deleting artifact paths.
Link copied to clipboard
public static boolean withdraw(File outputDir)
Revokes publication first, then best-effort removes every local/deployed artifact.