Class ModelCommitValidator
java.lang.Object
io.fluxzero.common.api.modeling.ModelCommitValidator
Structural validation for the independent-model wire protocol.
Keeping this validation with the protocol types ensures local clients, test servers and runtimes reject malformed model requests consistently.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidvalidate(CommitModels commit) Validates the structural model-commit wire contract.static voidvalidate(DeleteModel request) Validates one explicit model hard-deletion command.static voidvalidate(GetModelChange request) Validates one durable model-change lookup.static voidvalidate(GetModelEvents request) Validates one public batch model-stream read.static voidvalidate(GetModelGraph request) Validates one temporal model-graph request, including optional caller-imposed bounds.static voidvalidate(PlanModelDeletion request) Validates one bounded model hard-deletion dry run.static voidvalidateModelId(String modelId) Validates an exact persisted model identity.static voidvalidateStateIndex(long stateIndex) Validates a namespace model-state boundary.
-
Method Details
-
validate
Validates the structural model-commit wire contract. -
validate
Validates one public batch model-stream read. -
validate
Validates one temporal model-graph request, including optional caller-imposed bounds. -
validate
Validates one durable model-change lookup. -
validate
Validates one bounded model hard-deletion dry run. -
validate
Validates one explicit model hard-deletion command. -
validateModelId
Validates an exact persisted model identity. -
validateStateIndex
public static void validateStateIndex(long stateIndex) Validates a namespace model-state boundary.
-