Record Class ServerControlOperation.BackupArtifactCommand
java.lang.Object
java.lang.Record
zeroecho.pki.server.ServerControlOperation.BackupArtifactCommand
- Record Components:
action- requested workflow phaseartifactHandle- opaque owner-bound handle, never a filesystem pathcommitment- server-resolved metadata commitment; empty on the wire
- All Implemented Interfaces:
ServerControlOperation
- Enclosing interface:
ServerControlOperation
public static record ServerControlOperation.BackupArtifactCommand(ServerControlOperation.BackupArtifactCommand.Action action, String artifactHandle, Optional<String> commitment)
extends Record
implements ServerControlOperation
Requests an action on an owned opaque archive or restore workflow.
The gateway replaces any supplied commitment with current authoritative
metadata before authorization and approval canonicalization.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumClosed workflow actions and their stable operation identities.Nested classes/interfaces inherited from interface ServerControlOperation
ServerControlOperation.AcmeDirectoryProfilePrecondition, ServerControlOperation.ActivateBreakGlass, ServerControlOperation.ActivateEnrollmentProfile, ServerControlOperation.BackupArtifactCommand, ServerControlOperation.CancelApproval, ServerControlOperation.ConfigurationChoices, ServerControlOperation.CreateBreakGlass, ServerControlOperation.CreateGrant, ServerControlOperation.CreateRoleAssignment, ServerControlOperation.DeactivateAcmeAccount, ServerControlOperation.DecideApproval, ServerControlOperation.DecideEnrollmentRequest, ServerControlOperation.DeregisterCmpEndpoint, ServerControlOperation.DeregisterEstEndpoint, ServerControlOperation.DeregisterScepEndpoint, ServerControlOperation.EnrollCredentialPublication, ServerControlOperation.EvaluateAuthorization, ServerControlOperation.ExecuteRestore, ServerControlOperation.ExportBackup, ServerControlOperation.ExportBackupStream, ServerControlOperation.InspectAcmeAccount, ServerControlOperation.InspectAcmeDirectory, ServerControlOperation.InspectApproval, ServerControlOperation.InspectAuditView, ServerControlOperation.InspectBreakGlass, ServerControlOperation.InspectCmpEndpoint, ServerControlOperation.InspectDisclosure, ServerControlOperation.InspectEnrollmentProfile, ServerControlOperation.InspectEnrollmentRequest, ServerControlOperation.InspectEstEndpoint, ServerControlOperation.InspectGrant, ServerControlOperation.InspectOcspResponder, ServerControlOperation.InspectPrincipal, ServerControlOperation.InspectRepositoryAlias, ServerControlOperation.InspectRoleAssignment, ServerControlOperation.InspectRoleTemplate, ServerControlOperation.InspectScepEndpoint, ServerControlOperation.IssueCapability, ServerControlOperation.ListAcmeAccounts, ServerControlOperation.ListAcmeDirectories, ServerControlOperation.ListApprovals, ServerControlOperation.ListBreakGlass, ServerControlOperation.ListCapabilities, ServerControlOperation.ListCmpEndpoints, ServerControlOperation.ListEnrollmentProfiles, ServerControlOperation.ListEnrollmentRequests, ServerControlOperation.ListEstEndpoints, ServerControlOperation.ListGrants, ServerControlOperation.ListOcspResponders, ServerControlOperation.ListPrincipals, ServerControlOperation.ListRepositoryAliases, ServerControlOperation.ListRoleAssignments, ServerControlOperation.ListRoleTemplates, ServerControlOperation.ListScepEndpoints, ServerControlOperation.RegisterAcmeDirectory, ServerControlOperation.RegisterCmpEndpoint, ServerControlOperation.RegisterEnrollmentProfile, ServerControlOperation.RegisterEstEndpoint, ServerControlOperation.RegisterOcspResponder, ServerControlOperation.RegisterPrincipal, ServerControlOperation.RegisterScepEndpoint, ServerControlOperation.RemoveRepositoryAlias, ServerControlOperation.RequestApproval, ServerControlOperation.ReserveBackupUpload, ServerControlOperation.RevokeBreakGlass, ServerControlOperation.RevokeCapability, ServerControlOperation.RevokeGrant, ServerControlOperation.RevokeRoleAssignment, ServerControlOperation.SearchAudit, ServerControlOperation.SetAcmeDirectoryActive, ServerControlOperation.SetDisclosure, ServerControlOperation.SetOcspResponderActive, ServerControlOperation.SetPrincipalEnabled, ServerControlOperation.SetRepositoryAlias, ServerControlOperation.SuspendEnrollmentProfile, ServerControlOperation.UpdateEnrollmentProfile, ServerControlOperation.VerifyAuditIntegrity, ServerControlOperation.VerifyBackup -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAcknowledge restore outcome operation identity.static final StringDownload backup archive operation identity.static final StringStage backup restoration operation identity.static final StringInspect restore workflow operation identity.static final StringUpload backup archive operation identity.static final StringVerify uploaded archive operation identity. -
Constructor Summary
ConstructorsConstructorDescriptionBackupArtifactCommand(ServerControlOperation.BackupArtifactCommand.Action action, String artifactHandle, Optional<String> commitment) Validates shape; ownership and phase are checked by the server. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.Returns the value of theartifactHandlerecord component.Returns the value of thecommitmentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the stable operation identity used for authorization and dispatch.toString()Returns a string representation of this record class.
-
Field Details
-
UPLOAD
-
DOWNLOAD
-
VERIFY
-
RESTORE
-
STATUS
-
ACKNOWLEDGE
-
-
Constructor Details
-
BackupArtifactCommand
public BackupArtifactCommand(ServerControlOperation.BackupArtifactCommand.Action action, String artifactHandle, Optional<String> commitment) Validates shape; ownership and phase are checked by the server.
-
-
Method Details
-
name
Description copied from interface:ServerControlOperationReturns the stable operation identity used for authorization and dispatch.- Specified by:
namein interfaceServerControlOperation- Returns:
- stable operation identity
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
action
-
artifactHandle
Returns the value of theartifactHandlerecord component.- Returns:
- the value of the
artifactHandlerecord component
-
commitment
Returns the value of thecommitmentrecord component.- Returns:
- the value of the
commitmentrecord component
-