Record Class CSEventCertificateRenewalSucceeded
java.lang.Object
java.lang.Record
com.io7m.certusine.vanilla.internal.events.CSEventCertificateRenewalSucceeded
- Record Components:
domain- The domaincertificateName- The certificate name
- All Implemented Interfaces:
CSEventType
public record CSEventCertificateRenewalSucceeded(CSDomain domain, CSCertificateName certificateName)
extends Record
implements CSEventType
A certificate renewal succeeded completely and new certificates were stored.
-
Constructor Summary
ConstructorsConstructorDescriptionCSEventCertificateRenewalSucceeded(CSDomain domain, CSCertificateName certificateName) A certificate renewal succeeded completely and new certificates were 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()final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CSEventCertificateRenewalSucceeded
A certificate renewal succeeded completely and new certificates were stored.- Parameters:
domain- The domaincertificateName- The certificate name
-
-
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
-