Class GitOpsValidateTask
java.lang.Object
io.apicurio.registry.rest.v3.beans.GitOpsValidateTask
Root Type for GitOpsValidateTask
Represents a dry-run validation task with its current state and results.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNumber of artifacts loaded during validation.ISO 8601 timestamp of when the task completed.ISO 8601 timestamp of when the task was created.Validation errors.Number of groups loaded during validation.getRef()Git ref being validated.Repository ID being validated.Validation result: `success` (all checks passed) or `failure` (validation errors found).getState()Current task state: `pending` (queued, waiting for capacity), `submitted` (request sent to sidecar), `fetching` (sidecar is cloning), `validating` (registry is loading and validating), `completed` (finished with results), `failed` (an error occurred).Unique identifier for the validation task.getType()Validation type (`pull` or `push`).Number of artifact versions loaded during validation.voidsetArtifactCount(Integer artifactCount) Number of artifacts loaded during validation.voidsetCompletedAt(Date completedAt) ISO 8601 timestamp of when the task completed.voidsetCreatedAt(Date createdAt) ISO 8601 timestamp of when the task was created.voidsetErrors(List<GitOpsError> errors) Validation errors.voidsetGroupCount(Integer groupCount) Number of groups loaded during validation.voidGit ref being validated.voidRepository ID being validated.voidsetResult(GitOpsValidateTask.Result result) Validation result: `success` (all checks passed) or `failure` (validation errors found).voidsetState(GitOpsValidateTask.State state) Current task state: `pending` (queued, waiting for capacity), `submitted` (request sent to sidecar), `fetching` (sidecar is cloning), `validating` (registry is loading and validating), `completed` (finished with results), `failed` (an error occurred).voidUnique identifier for the validation task.voidValidation type (`pull` or `push`).voidsetVersionCount(Integer versionCount) Number of artifact versions loaded during validation.
-
Constructor Details
-
GitOpsValidateTask
public GitOpsValidateTask()
-
-
Method Details
-
getTaskId
Unique identifier for the validation task. (Required) -
setTaskId
Unique identifier for the validation task. (Required) -
getType
Validation type (`pull` or `push`). -
setType
Validation type (`pull` or `push`). -
getRepoId
Repository ID being validated. -
setRepoId
Repository ID being validated. -
getRef
Git ref being validated. -
setRef
Git ref being validated. -
getState
Current task state: `pending` (queued, waiting for capacity), `submitted` (request sent to sidecar), `fetching` (sidecar is cloning), `validating` (registry is loading and validating), `completed` (finished with results), `failed` (an error occurred). (Required) -
setState
Current task state: `pending` (queued, waiting for capacity), `submitted` (request sent to sidecar), `fetching` (sidecar is cloning), `validating` (registry is loading and validating), `completed` (finished with results), `failed` (an error occurred). (Required) -
getResult
Validation result: `success` (all checks passed) or `failure` (validation errors found). Only present when state is `completed`. -
setResult
Validation result: `success` (all checks passed) or `failure` (validation errors found). Only present when state is `completed`. -
getCreatedAt
ISO 8601 timestamp of when the task was created. -
setCreatedAt
ISO 8601 timestamp of when the task was created. -
getCompletedAt
ISO 8601 timestamp of when the task completed. Only present when state is `completed` or `failed`. -
setCompletedAt
ISO 8601 timestamp of when the task completed. Only present when state is `completed` or `failed`. -
getGroupCount
Number of groups loaded during validation. Only present when state is `completed`. -
setGroupCount
Number of groups loaded during validation. Only present when state is `completed`. -
getArtifactCount
Number of artifacts loaded during validation. Only present when state is `completed`. -
setArtifactCount
Number of artifacts loaded during validation. Only present when state is `completed`. -
getVersionCount
Number of artifact versions loaded during validation. Only present when state is `completed`. -
setVersionCount
Number of artifact versions loaded during validation. Only present when state is `completed`. -
getErrors
Validation errors. Empty if validation passed. -
setErrors
Validation errors. Empty if validation passed.
-