public class PagerDutyTrigger extends Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
PagerDutyTrigger.DescriptorImpl |
Publisher.DescriptorExtensionListImplExtensionPoint.LegacyInstancesAreScopedToHudsonBuildStep.PublisherListBUILDERS, PUBLISHERS| 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() |
BuildStepMonitor |
getRequiredMonitorService() |
String |
getRoutingKey() |
boolean |
isResolveOnBackToNormal() |
boolean |
isTriggerOnAborted() |
boolean |
isTriggerOnFailure() |
boolean |
isTriggerOnNotBuilt() |
boolean |
isTriggerOnSuccess() |
boolean |
isTriggerOnUnstable() |
boolean |
perform(AbstractBuild<?,?> build,
Launcher launcher,
BuildListener listener) |
protected Object |
readResolve() |
void |
setResolveOnBackToNormal(boolean resolveOnBackToNormal) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, 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 Describable<Publisher>getDescriptor in class Notifierpublic BuildStepMonitor getRequiredMonitorService()
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
perform in interface BuildStepperform in class BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2016–2021. All rights reserved.