public class PagerDutyTrigger
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
PagerDutyTrigger.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
PagerDutyTrigger(String routingKey,
String dedupKey,
String incidentSummary,
String incidentSource,
String incidentSeverity,
String incidentComponent,
String incidentGroup,
String incidentClass,
boolean resolveOnBackToNormal,
boolean triggerOnSuccess,
boolean triggerOnFailure,
boolean triggerOnUnstable,
boolean triggerOnAborted,
boolean triggerOnNotBuilt,
Integer numPreviousBuildsToProbe) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDedupKey() |
PagerDutyTrigger.DescriptorImpl |
getDescriptor() |
String |
getIncidentClass() |
String |
getIncidentComponent() |
String |
getIncidentGroup() |
String |
getIncidentSeverity() |
String |
getIncidentSource() |
String |
getIncidentSummary() |
Integer |
getNumPreviousBuildsToProbe() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getRoutingKey() |
boolean |
isResolveOnBackToNormal() |
boolean |
isTriggerOnAborted() |
boolean |
isTriggerOnFailure() |
boolean |
isTriggerOnNotBuilt() |
boolean |
isTriggerOnSuccess() |
boolean |
isTriggerOnUnstable() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
protected Object |
readResolve() |
void |
setResolveOnBackToNormal(boolean resolveOnBackToNormal) |
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor public PagerDutyTrigger(String routingKey, String dedupKey, String incidentSummary, String incidentSource, String incidentSeverity, String incidentComponent, String incidentGroup, String incidentClass, boolean resolveOnBackToNormal, boolean triggerOnSuccess, boolean triggerOnFailure, boolean triggerOnUnstable, boolean triggerOnAborted, boolean triggerOnNotBuilt, Integer numPreviousBuildsToProbe)
public String getRoutingKey()
public String getDedupKey()
public String getIncidentSummary()
public String getIncidentSource()
public String getIncidentSeverity()
public String getIncidentComponent()
public String getIncidentGroup()
public String getIncidentClass()
public boolean isResolveOnBackToNormal()
public void setResolveOnBackToNormal(boolean resolveOnBackToNormal)
public Integer getNumPreviousBuildsToProbe()
public boolean isTriggerOnSuccess()
public boolean isTriggerOnFailure()
public boolean isTriggerOnUnstable()
public boolean isTriggerOnAborted()
public boolean isTriggerOnNotBuilt()
protected Object readResolve()
public PagerDutyTrigger.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Notifierpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public 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.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2016–2022. All rights reserved.