public class OpsGenieNotifier
extends hudson.tasks.Notifier
Modifier and Type | Class and Description |
---|---|
static class |
OpsGenieNotifier.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl
Modifier and Type | Field and Description |
---|---|
static AlertPriority[] |
ALERT_PRIORITIES |
Constructor and Description |
---|
OpsGenieNotifier(boolean enable,
boolean notifyBuildStart,
String tags,
hudson.util.Secret apiKey,
String apiUrl,
String teams,
String alertPriority,
String buildStartAlertPriority) |
Modifier and Type | Method and Description |
---|---|
AlertPriority |
getAlertPriority() |
hudson.util.Secret |
getApiKey() |
String |
getApiUrl() |
OpsGenieNotifier.DescriptorImpl |
getDescriptor() |
AlertPriority |
getNotifyBuildStartPriority() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getTags() |
String |
getTeams() |
boolean |
isEnable() |
boolean |
isNotifyBuildStart() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
String |
toString() |
all, getProjectAction, needsToRunAfterFinalized, prebuild
public static final AlertPriority[] ALERT_PRIORITIES
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public OpsGenieNotifier.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Notifier
public boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener) throws InterruptedException, IOException
perform
in interface hudson.tasks.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
InterruptedException
IOException
public boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
prebuild
in interface hudson.tasks.BuildStep
prebuild
in class hudson.tasks.BuildStepCompatibilityLayer
@Exported public boolean isEnable()
@Exported public boolean isNotifyBuildStart()
@Exported public hudson.util.Secret getApiKey()
@Exported public String getApiUrl()
@Exported public String getTags()
@Exported public String getTeams()
@Exported public AlertPriority getNotifyBuildStartPriority()
@Exported public AlertPriority getAlertPriority()
Copyright © 2016–2023. All rights reserved.