Record Class ServerOperationGateway.Outcome.ApprovalRequired
java.lang.Object
java.lang.Record
zeroecho.pki.server.ServerOperationGateway.Outcome.ApprovalRequired
- Record Components:
operationCommitment- exact safe operation commitment to approve
- All Implemented Interfaces:
ServerOperationGateway.Outcome
- Enclosing interface:
ServerOperationGateway.Outcome
public static record ServerOperationGateway.Outcome.ApprovalRequired(String operationCommitment)
extends Record
implements ServerOperationGateway.Outcome
High-risk operation requires a separately created durable approval.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServerOperationGateway.Outcome
ServerOperationGateway.Outcome.ApprovalRequired, ServerOperationGateway.Outcome.ControlExecuted, ServerOperationGateway.Outcome.Denied, ServerOperationGateway.Outcome.Executed -
Constructor Summary
ConstructorsConstructorDescriptionApprovalRequired(String operationCommitment) Validates the safe exact-operation commitment. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theoperationCommitmentrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApprovalRequired
Validates the safe exact-operation commitment.
-
-
Method Details
-
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). -
operationCommitment
Returns the value of theoperationCommitmentrecord component.- Returns:
- the value of the
operationCommitmentrecord component
-