Record Class CSEventCertificateStoreFailed
java.lang.Object
java.lang.Record
com.io7m.certusine.vanilla.internal.events.CSEventCertificateStoreFailed
- Record Components:
domain- The domaincertificateName- The certificate nametarget- The output to which the certificate store was attempted
- All Implemented Interfaces:
CSEventType
public record CSEventCertificateStoreFailed(CSDomain domain, CSCertificateName certificateName, String target)
extends Record
implements CSEventType
A certificate could not be stored.
-
Constructor Summary
ConstructorsConstructorDescriptionCSEventCertificateStoreFailed(CSDomain domain, CSCertificateName certificateName, String target) A certificate could not be stored. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecertificateNamerecord component.domain()Returns the value of thedomainrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmessage()target()Returns the value of thetargetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CSEventCertificateStoreFailed
public CSEventCertificateStoreFailed(CSDomain domain, CSCertificateName certificateName, String target) A certificate could not be stored.- Parameters:
domain- The domaincertificateName- The certificate nametarget- The output to which the certificate store was attempted
-
-
Method Details
-
message
- Specified by:
messagein interfaceCSEventType- Returns:
- The event message
-
isFailure
public boolean isFailure()- Specified by:
isFailurein interfaceCSEventType- Returns:
trueif the event indicates that an operation failed
-
attributes
- Specified by:
attributesin interfaceCSEventType- Returns:
- The event attributes for logging purposes
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
domain
Returns the value of thedomainrecord component.- Returns:
- the value of the
domainrecord component
-
certificateName
Returns the value of thecertificateNamerecord component.- Returns:
- the value of the
certificateNamerecord component
-
target
Returns the value of thetargetrecord component.- Returns:
- the value of the
targetrecord component
-