Class DeadlineMetadata
java.lang.Object
io.fluxzero.sdk.scheduling.DeadlineMetadata
Internal codec for SDK-owned deadline metadata in events, Model documents and snapshots.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String, DeadlineInfo> Obtains the immutable deadline map from a loaded Model revision.static Map<String, DeadlineInfo> read(io.fluxzero.common.api.Metadata metadata, String modelId, Map<String, DeadlineInfo> previous) Restores a Model's recorded categories; old records without metadata retain their prior value.static io.fluxzero.common.api.Metadatastrip(io.fluxzero.common.api.Metadata metadata) Removes untrusted deadline metadata before preparing a live Model write.static io.fluxzero.common.api.Metadatawith(io.fluxzero.common.api.Metadata metadata, String modelId, Map<String, DeadlineInfo> deadlines) Adds one complete authoritative category map, including an explicit empty map when canceled.
-
Field Details
-
PREFIX
Reserved SDK namespace; application/dispatch metadata cannot supply values in this namespace.- See Also:
-
-
Method Details
-
strip
public static io.fluxzero.common.api.Metadata strip(io.fluxzero.common.api.Metadata metadata) Removes untrusted deadline metadata before preparing a live Model write. -
with
public static io.fluxzero.common.api.Metadata with(io.fluxzero.common.api.Metadata metadata, String modelId, Map<String, DeadlineInfo> deadlines) Adds one complete authoritative category map, including an explicit empty map when canceled. -
read
public static Map<String, DeadlineInfo> read(io.fluxzero.common.api.Metadata metadata, String modelId, Map<String, DeadlineInfo> previous) Restores a Model's recorded categories; old records without metadata retain their prior value. -
get
Obtains the immutable deadline map from a loaded Model revision.
-