Package church.i18n.processing.config
Record Class DefaultProcessingExceptionConfig
java.lang.Object
java.lang.Record
church.i18n.processing.config.DefaultProcessingExceptionConfig
- All Implemented Interfaces:
ProcessingExceptionConfig
public record DefaultProcessingExceptionConfig(@NotNull MessageType defaultMessageType, @NotNull SecurityPolicy defaultSecurityPolicy, @NotNull Set<SecurityPolicy> exposeSecurityPolicies, @NotNull Set<SecurityPolicy> logSecurityPolicies, @NotNull ProcessingMessage failoverProcessingMessage)
extends Record
implements ProcessingExceptionConfig
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDefaultProcessingExceptionConfig(@NotNull MessageType defaultMessageType, @NotNull SecurityPolicy defaultSecurityPolicy, @NotNull Set<SecurityPolicy> exposeSecurityPolicies, @NotNull Set<SecurityPolicy> logSecurityPolicies, @NotNull ProcessingMessage failoverProcessingMessage) Creates an instance of aDefaultProcessingExceptionConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull DefaultProcessingExceptionConfig.Builderbuilder()@NotNull MessageTypeReturns the value of thedefaultMessageTyperecord component.@NotNull SecurityPolicyReturns the value of thedefaultSecurityPolicyrecord component.booleanIndicates whether some other object is "equal to" this one.@NotNull Set<SecurityPolicy> Returns the value of theexposeSecurityPoliciesrecord component.@NotNull ProcessingMessageReturns the value of thefailoverProcessingMessagerecord component.final inthashCode()Returns a hash code value for this object.@NotNull Set<SecurityPolicy> Returns the value of thelogSecurityPoliciesrecord component.@NotNull StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DefaultProcessingExceptionConfig
public DefaultProcessingExceptionConfig(@NotNull @NotNull MessageType defaultMessageType, @NotNull @NotNull SecurityPolicy defaultSecurityPolicy, @NotNull @NotNull Set<SecurityPolicy> exposeSecurityPolicies, @NotNull @NotNull Set<SecurityPolicy> logSecurityPolicies, @NotNull @NotNull ProcessingMessage failoverProcessingMessage) Creates an instance of aDefaultProcessingExceptionConfigrecord class.- Parameters:
defaultMessageType- the value for thedefaultMessageTyperecord componentdefaultSecurityPolicy- the value for thedefaultSecurityPolicyrecord componentexposeSecurityPolicies- the value for theexposeSecurityPoliciesrecord componentlogSecurityPolicies- the value for thelogSecurityPoliciesrecord componentfailoverProcessingMessage- the value for thefailoverProcessingMessagerecord component
-
-
Method Details
-
builder
-
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). -
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. -
defaultMessageType
Returns the value of thedefaultMessageTyperecord component.- Specified by:
defaultMessageTypein interfaceProcessingExceptionConfig- Returns:
- the value of the
defaultMessageTyperecord component
-
defaultSecurityPolicy
Returns the value of thedefaultSecurityPolicyrecord component.- Specified by:
defaultSecurityPolicyin interfaceProcessingExceptionConfig- Returns:
- the value of the
defaultSecurityPolicyrecord component
-
exposeSecurityPolicies
Returns the value of theexposeSecurityPoliciesrecord component.- Specified by:
exposeSecurityPoliciesin interfaceProcessingExceptionConfig- Returns:
- the value of the
exposeSecurityPoliciesrecord component
-
logSecurityPolicies
Returns the value of thelogSecurityPoliciesrecord component.- Specified by:
logSecurityPoliciesin interfaceProcessingExceptionConfig- Returns:
- the value of the
logSecurityPoliciesrecord component
-
failoverProcessingMessage
Returns the value of thefailoverProcessingMessagerecord component.- Specified by:
failoverProcessingMessagein interfaceProcessingExceptionConfig- Returns:
- the value of the
failoverProcessingMessagerecord component
-