Package org.simplejavamail.recipient
Class RecipientsBuilder
java.lang.Object
org.simplejavamail.recipient.RecipientsBuilder
- All Implemented Interfaces:
org.simplejavamail.api.email.IRecipientsBuilder
public class RecipientsBuilder
extends Object
implements org.simplejavamail.api.email.IRecipientsBuilder
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<org.simplejavamail.api.email.Recipient> @NotNull org.simplejavamail.api.email.IRecipientsBuilder@NotNull org.simplejavamail.api.email.IRecipientsBuilderwithDefaultSmimeCertificate(@NotNull X509Certificate smimeCertificate) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithFixedSmimeCertificate(@NotNull X509Certificate smimeCertificate) org.simplejavamail.api.email.IRecipientsBuilderwithRecipient(@NotNull String singleAddress, jakarta.mail.Message.RecipientType recipientType) org.simplejavamail.api.email.IRecipientsBuilderwithRecipient(@Nullable String name, boolean fixedName, @NotNull String singleAddress, jakarta.mail.Message.RecipientType recipientType) org.simplejavamail.api.email.IRecipientsBuilderwithRecipient(@Nullable String name, @NotNull String singleAddress, jakarta.mail.Message.RecipientType recipientType) org.simplejavamail.api.email.IRecipientsBuilderwithRecipient(@NotNull org.simplejavamail.api.email.Recipient recipient) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipients(@Nullable String name, boolean fixedName, jakarta.mail.Message.RecipientType recipientType, @NotNull String @NotNull ... oneOrMoreAddressesEach) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipients(@Nullable String name, boolean fixedName, @NotNull Collection<String> oneOrMoreAddressesEach, jakarta.mail.Message.RecipientType recipientType) org.simplejavamail.api.email.IRecipientsBuilderwithRecipients(@NotNull Collection<org.simplejavamail.api.email.Recipient> recipients) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipients(@NotNull Collection<org.simplejavamail.api.email.Recipient> recipients, jakarta.mail.Message.RecipientType fixedRecipientType) org.simplejavamail.api.email.IRecipientsBuilderwithRecipients(@NotNull org.simplejavamail.api.email.Recipient @NotNull ... recipients) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipientsFromAddresses(@Nullable String name, boolean fixedName, @NotNull Collection<jakarta.mail.internet.InternetAddress> addresses, jakarta.mail.Message.RecipientType recipientType) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipientsFromAddressesWithDefaultName(@Nullable String defaultName, @NotNull Collection<jakarta.mail.internet.InternetAddress> addresses, jakarta.mail.Message.RecipientType recipientType) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipientsFromAddressesWithFixedName(@Nullable String fixedName, @NotNull Collection<jakarta.mail.internet.InternetAddress> addresses, jakarta.mail.Message.RecipientType recipientType) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipientsWithDefaultName(@Nullable String name, jakarta.mail.Message.RecipientType recipientType, @NotNull String @NotNull ... oneOrMoreAddressesEach) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipientsWithDefaultName(@Nullable String defaultName, @NotNull Collection<String> oneOrMoreAddressesEach, jakarta.mail.Message.RecipientType recipientType) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipientsWithFixedName(@Nullable String name, jakarta.mail.Message.RecipientType recipientType, @NotNull String @NotNull ... oneOrMoreAddressesEach) @NotNull org.simplejavamail.api.email.IRecipientsBuilderwithRecipientsWithFixedName(@Nullable String fixedName, @NotNull Collection<String> oneOrMoreAddressesEach, jakarta.mail.Message.RecipientType recipientType)
-
Constructor Details
-
RecipientsBuilder
public RecipientsBuilder()
-
-
Method Details
-
buildRecipients
- Specified by:
buildRecipientsin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withDefaultSmimeCertificate
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withDefaultSmimeCertificate(@NotNull @NotNull X509Certificate smimeCertificate) - Specified by:
withDefaultSmimeCertificatein interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withFixedSmimeCertificate
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withFixedSmimeCertificate(@NotNull @NotNull X509Certificate smimeCertificate) - Specified by:
withFixedSmimeCertificatein interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
clearingSmimeCertificates
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder clearingSmimeCertificates()- Specified by:
clearingSmimeCertificatesin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipientsWithDefaultName
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipientsWithDefaultName(@Nullable @Nullable String defaultName, @NotNull @NotNull Collection<String> oneOrMoreAddressesEach, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientsWithDefaultNamein interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipientsWithFixedName
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipientsWithFixedName(@Nullable @Nullable String fixedName, @NotNull @NotNull Collection<String> oneOrMoreAddressesEach, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientsWithFixedNamein interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipientsWithDefaultName
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipientsWithDefaultName(@Nullable @Nullable String name, @Nullable jakarta.mail.Message.RecipientType recipientType, @NotNull @NotNull String @NotNull ... oneOrMoreAddressesEach) - Specified by:
withRecipientsWithDefaultNamein interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipientsWithFixedName
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipientsWithFixedName(@Nullable @Nullable String name, @Nullable jakarta.mail.Message.RecipientType recipientType, @NotNull @NotNull String @NotNull ... oneOrMoreAddressesEach) - Specified by:
withRecipientsWithFixedNamein interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipients
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipients(@Nullable @Nullable String name, boolean fixedName, @Nullable jakarta.mail.Message.RecipientType recipientType, @NotNull @NotNull String @NotNull ... oneOrMoreAddressesEach) - Specified by:
withRecipientsin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipients
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipients(@Nullable @Nullable String name, boolean fixedName, @NotNull @NotNull Collection<String> oneOrMoreAddressesEach, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientsin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipientsFromAddressesWithDefaultName
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipientsFromAddressesWithDefaultName(@Nullable @Nullable String defaultName, @NotNull @NotNull Collection<jakarta.mail.internet.InternetAddress> addresses, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientsFromAddressesWithDefaultNamein interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipientsFromAddressesWithFixedName
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipientsFromAddressesWithFixedName(@Nullable @Nullable String fixedName, @NotNull @NotNull Collection<jakarta.mail.internet.InternetAddress> addresses, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientsFromAddressesWithFixedNamein interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipientsFromAddresses
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipientsFromAddresses(@Nullable @Nullable String name, boolean fixedName, @NotNull @NotNull Collection<jakarta.mail.internet.InternetAddress> addresses, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientsFromAddressesin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipients
public org.simplejavamail.api.email.IRecipientsBuilder withRecipients(@NotNull @NotNull Collection<org.simplejavamail.api.email.Recipient> recipients) - Specified by:
withRecipientsin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipients
public org.simplejavamail.api.email.IRecipientsBuilder withRecipients(@NotNull @NotNull org.simplejavamail.api.email.Recipient @NotNull ... recipients) - Specified by:
withRecipientsin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipients
@NotNull public @NotNull org.simplejavamail.api.email.IRecipientsBuilder withRecipients(@NotNull @NotNull Collection<org.simplejavamail.api.email.Recipient> recipients, @Nullable jakarta.mail.Message.RecipientType fixedRecipientType) - Specified by:
withRecipientsin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipient
public org.simplejavamail.api.email.IRecipientsBuilder withRecipient(@NotNull @NotNull String singleAddress, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipient
public org.simplejavamail.api.email.IRecipientsBuilder withRecipient(@Nullable @Nullable String name, @NotNull @NotNull String singleAddress, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipient
public org.simplejavamail.api.email.IRecipientsBuilder withRecipient(@Nullable @Nullable String name, boolean fixedName, @NotNull @NotNull String singleAddress, @Nullable jakarta.mail.Message.RecipientType recipientType) - Specified by:
withRecipientin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-
withRecipient
public org.simplejavamail.api.email.IRecipientsBuilder withRecipient(@NotNull @NotNull org.simplejavamail.api.email.Recipient recipient) - Specified by:
withRecipientin interfaceorg.simplejavamail.api.email.IRecipientsBuilder- See Also:
-