Package hudson.plugins.emailext.plugins
Class RecipientProvider
java.lang.Object
hudson.model.AbstractDescribableImpl<RecipientProvider>
hudson.plugins.emailext.plugins.RecipientProvider
- All Implemented Interfaces:
ExtensionPoint
,Describable<RecipientProvider>
- Direct Known Subclasses:
BuildUserRecipientProvider
,ContributorMetadataRecipientProvider
,CulpritsRecipientProvider
,DevelopersRecipientProvider
,FailingTestSuspectsRecipientProvider
,FirstFailingBuildSuspectsRecipientProvider
,ListRecipientProvider
,PreviousRecipientProvider
,RequesterRecipientProvider
,UpstreamComitterRecipientProvider
public abstract class RecipientProvider
extends AbstractDescribableImpl<RecipientProvider>
implements ExtensionPoint
Created by acearl on 12/24/13.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
addRecipients
(ExtendedEmailPublisherContext context, EnvVars env, Set<jakarta.mail.internet.InternetAddress> to, Set<jakarta.mail.internet.InternetAddress> cc, Set<jakarta.mail.internet.InternetAddress> bcc) all()
static List<RecipientProviderDescriptor>
allSupporting
(Class<? extends Job<?, ?>> clazz) static void
checkAllSupport
(List<? extends RecipientProvider> providers, Class<? extends Job> clazz)
-
Constructor Details
-
RecipientProvider
public RecipientProvider()
-
-
Method Details
-
all
-
allSupporting
-
checkAllSupport
public static void checkAllSupport(@NonNull List<? extends RecipientProvider> providers, Class<? extends Job> clazz) -
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<RecipientProvider>
- Overrides:
getDescriptor
in classAbstractDescribableImpl<RecipientProvider>
-
addRecipients
public abstract void addRecipients(ExtendedEmailPublisherContext context, EnvVars env, Set<jakarta.mail.internet.InternetAddress> to, Set<jakarta.mail.internet.InternetAddress> cc, Set<jakarta.mail.internet.InternetAddress> bcc)
-