Record Class MailpitWebUiConfiguration
java.lang.Object
java.lang.Record
io.micronaut.email.mailpit.client.model.MailpitWebUiConfiguration
- Record Components:
label- Optional instance label.messageRelay- Message relay configuration.spamAssassin- Whether SpamAssassin is enabled.chaosEnabled- Whether chaos support is enabled.duplicatesIgnored- Whether duplicate messages are ignored.hideDeleteAllButton- Whether the delete all button is hidden.
public record MailpitWebUiConfiguration(@Nullable String label, @Nullable MailpitMessageRelayConfiguration messageRelay, boolean spamAssassin, boolean chaosEnabled, boolean duplicatesIgnored, boolean hideDeleteAllButton)
extends Record
Mailpit web UI configuration.
- Since:
- 3.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionMailpitWebUiConfiguration(@Nullable String label, @Nullable MailpitMessageRelayConfiguration messageRelay, boolean spamAssassin, boolean chaosEnabled, boolean duplicatesIgnored, boolean hideDeleteAllButton) Creates an instance of aMailpitWebUiConfigurationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thechaosEnabledrecord component.booleanReturns the value of theduplicatesIgnoredrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehideDeleteAllButtonrecord component.@Nullable Stringlabel()Returns the value of thelabelrecord component.@Nullable MailpitMessageRelayConfigurationReturns the value of themessageRelayrecord component.booleanReturns the value of thespamAssassinrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MailpitWebUiConfiguration
public MailpitWebUiConfiguration(@Nullable String label, @Nullable MailpitMessageRelayConfiguration messageRelay, boolean spamAssassin, boolean chaosEnabled, boolean duplicatesIgnored, boolean hideDeleteAllButton) Creates an instance of aMailpitWebUiConfigurationrecord class.- Parameters:
label- the value for thelabelrecord componentmessageRelay- the value for themessageRelayrecord componentspamAssassin- the value for thespamAssassinrecord componentchaosEnabled- the value for thechaosEnabledrecord componentduplicatesIgnored- the value for theduplicatesIgnoredrecord componenthideDeleteAllButton- the value for thehideDeleteAllButtonrecord component
-
-
Method Details
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
label
-
messageRelay
Returns the value of themessageRelayrecord component.- Returns:
- the value of the
messageRelayrecord component
-
spamAssassin
public boolean spamAssassin()Returns the value of thespamAssassinrecord component.- Returns:
- the value of the
spamAssassinrecord component
-
chaosEnabled
public boolean chaosEnabled()Returns the value of thechaosEnabledrecord component.- Returns:
- the value of the
chaosEnabledrecord component
-
duplicatesIgnored
public boolean duplicatesIgnored()Returns the value of theduplicatesIgnoredrecord component.- Returns:
- the value of the
duplicatesIgnoredrecord component
-
hideDeleteAllButton
public boolean hideDeleteAllButton()Returns the value of thehideDeleteAllButtonrecord component.- Returns:
- the value of the
hideDeleteAllButtonrecord component
-