public class NewRelicDeploymentNotifier extends Notifier implements SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
NewRelicDeploymentNotifier.DescriptorImpl |
Publisher.DescriptorExtensionListImpl
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
BUILDERS, PUBLISHERS
Constructor and Description |
---|
NewRelicDeploymentNotifier(List<DeploymentNotificationBean> notifications) |
Modifier and Type | Method and Description |
---|---|
NewRelicClient |
getClient() |
NewRelicDeploymentNotifier.DescriptorImpl |
getDescriptor() |
List<DeploymentNotificationBean> |
getNotifications() |
BuildStepMonitor |
getRequiredMonitorService() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
void |
perform(Run<?,?> run,
FilePath filePath,
Launcher launcher,
TaskListener taskListener) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProjectAction, getProjectActions, prebuild
@DataBoundConstructor public NewRelicDeploymentNotifier(List<DeploymentNotificationBean> notifications)
public List<DeploymentNotificationBean> getNotifications()
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform
in interface BuildStep
perform
in class BuildStepCompatibilityLayer
InterruptedException
IOException
public NewRelicClient getClient()
public BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface BuildStep
public NewRelicDeploymentNotifier.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<Publisher>
getDescriptor
in class Notifier
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener taskListener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
InterruptedException
IOException
Copyright © 2016–2023. All rights reserved.