Record Class ServerControlOperationOutcome.Ordinary
java.lang.Object
java.lang.Record
zeroecho.pki.server.ServerControlOperationOutcome.Ordinary
- Record Components:
outcome- transport-neutral PKI operation outcome
- All Implemented Interfaces:
ServerControlOperationOutcome
- Enclosing interface:
ServerControlOperationOutcome
public static record ServerControlOperationOutcome.Ordinary(PkiOperationOutcome outcome)
extends Record
implements ServerControlOperationOutcome
Ordinary safe replayable operation result.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ServerControlOperationOutcome
ServerControlOperationOutcome.Classification, ServerControlOperationOutcome.OneTimeSensitive, ServerControlOperationOutcome.Ordinary -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the response handling classification.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.outcome()Returns the value of theoutcomerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Ordinary
Validates the required outcome.
-
-
Method Details
-
classification
Description copied from interface:ServerControlOperationOutcomeReturns the response handling classification.- Specified by:
classificationin interfaceServerControlOperationOutcome- Returns:
- handling classification
-
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). -
outcome
-