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,
String apiKey,
String apiUrl,
String teams,
String alertPriority,
String buildStartAlertPriority) |
| Modifier and Type | Method and Description |
|---|---|
AlertPriority |
getAlertPriority() |
String |
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, prebuildpublic 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.Notifierpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild in interface hudson.tasks.BuildStepprebuild in class hudson.tasks.BuildStepCompatibilityLayer@Exported public boolean isEnable()
@Exported public boolean isNotifyBuildStart()
@Exported public String getApiKey()
@Exported public String getApiUrl()
@Exported public String getTags()
@Exported public String getTeams()
@Exported public AlertPriority getNotifyBuildStartPriority()
@Exported public AlertPriority getAlertPriority()
Copyright © 2016–2020. All rights reserved.