public class PagerDutyTrigger
extends hudson.tasks.Notifier
| Modifier and Type | Class and Description |
|---|---|
static class |
PagerDutyTrigger.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Modifier and Type | Field and Description |
|---|---|
String |
incDescription |
String |
incidentKey |
Integer |
numPreviousBuildsToProbe |
boolean |
resolveOnBackToNormal |
String |
serviceKey |
boolean |
triggerOnAborted |
boolean |
triggerOnFailure |
boolean |
triggerOnNotBuilt |
boolean |
triggerOnSuccess |
boolean |
triggerOnUnstable |
| Constructor and Description |
|---|
PagerDutyTrigger(String serviceKey,
boolean resolveOnBackToNormal,
boolean triggerOnSuccess,
boolean triggerOnFailure,
boolean triggerOnAborted,
boolean triggerOnUnstable,
boolean triggerOnNotBuilt,
String incidentKey,
String incDescription,
Integer numPreviousBuildsToProbe) |
| Modifier and Type | Method and Description |
|---|---|
PagerDutyTrigger.DescriptorImpl |
getDescriptor() |
String |
getIncDescription() |
String |
getIncidentKey() |
Integer |
getNumPreviousBuildsToProbe() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getServiceKey() |
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, prebuildpublic String serviceKey
public boolean resolveOnBackToNormal
public boolean triggerOnSuccess
public boolean triggerOnFailure
public boolean triggerOnUnstable
public boolean triggerOnAborted
public boolean triggerOnNotBuilt
public String incidentKey
public String incDescription
public Integer numPreviousBuildsToProbe
@DataBoundConstructor public PagerDutyTrigger(String serviceKey, boolean resolveOnBackToNormal, boolean triggerOnSuccess, boolean triggerOnFailure, boolean triggerOnAborted, boolean triggerOnUnstable, boolean triggerOnNotBuilt, String incidentKey, String incDescription, Integer numPreviousBuildsToProbe)
public boolean isResolveOnBackToNormal()
public void setResolveOnBackToNormal(boolean resolveOnBackToNormal)
public String getServiceKey()
public boolean isTriggerOnSuccess()
public boolean isTriggerOnFailure()
public boolean isTriggerOnUnstable()
public boolean isTriggerOnAborted()
public boolean isTriggerOnNotBuilt()
public String getIncidentKey()
public String getIncDescription()
public Integer getNumPreviousBuildsToProbe()
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–2017. All rights reserved.