Record Class CSEventCertificateStored
java.lang.Object
java.lang.Record
com.io7m.certusine.vanilla.internal.events.CSEventCertificateStored
- Record Components:
domain- The domaincertificateName- The certificate nametarget- The output to which the certificate was stored
- All Implemented Interfaces:
CSEventType
public record CSEventCertificateStored(CSDomain domain, CSCertificateName certificateName, String target)
extends Record
implements CSEventType
A certificate was stored. This can happen many times throughout the lifetime
of the application, and certificates are typically stored redundantly; a
certificate being stored does not necessarily imply that it's a new
certificate.
-
Constructor Summary
ConstructorsConstructorDescriptionCSEventCertificateStored(CSDomain domain, CSCertificateName certificateName, String target) A certificate was 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.Methods inherited from interface CSEventType
isLogged
-
Constructor Details
-
CSEventCertificateStored
A certificate was stored. This can happen many times throughout the lifetime of the application, and certificates are typically stored redundantly; a certificate being stored does not necessarily imply that it's a new certificate.- Parameters:
domain- The domaincertificateName- The certificate nametarget- The output to which the certificate was stored
-
-
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
-
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). -
domain
-
certificateName
Returns the value of thecertificateNamerecord component.- Returns:
- the value of the
certificateNamerecord component
-
target
-