public class PagerDutyParamHolder extends Object
| Constructor and Description |
|---|
PagerDutyParamHolder(String routingKey,
String dedupKey,
String incidentSummary,
String incidentSource,
String incidentSeverity,
String incidentComponent,
String incidentGroup,
String incidentClass,
Integer numPreviousBuildsToProbe,
boolean resolveOnBackToNormal,
boolean triggerOnSuccess,
boolean triggerOnFailure,
boolean triggerOnUnstable,
boolean triggerOnAborted,
boolean triggerOnNotBuilt) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDedupKey() |
String |
getIncidentClass() |
String |
getIncidentComponent() |
String |
getIncidentGroup() |
com.github.dikhan.pagerduty.client.events.domain.Severity |
getIncidentSeverity() |
String |
getIncidentSource() |
String |
getIncidentSummary() |
Integer |
getNumPreviousBuildsToProbe() |
String |
getRoutingKey() |
boolean |
isResolveOnBackToNormal() |
boolean |
isTriggerOnAborted() |
boolean |
isTriggerOnFailure() |
boolean |
isTriggerOnNotBuilt() |
boolean |
isTriggerOnSuccess() |
boolean |
isTriggerOnUnstable() |
void |
setDedupKey(String dedupKey) |
void |
setIncidentClass(String incidentClass) |
void |
setIncidentComponent(String incidentComponent) |
void |
setIncidentGroup(String incidentGroup) |
void |
setIncidentSeverity(String incidentSeverity) |
void |
setIncidentSource(String incidentSource) |
void |
setIncidentSummary(String incidentSummary) |
void |
setNumPreviousBuildsToProbe(Integer numPreviousBuildsToProbe) |
void |
setResolveOnBackToNormal(boolean resolveOnBackToNormal) |
void |
setRoutingKey(String routingKey) |
void |
setTriggerOnAborted(boolean triggerOnAborted) |
void |
setTriggerOnFailure(boolean triggerOnFailure) |
void |
setTriggerOnNotBuilt(boolean triggerOnNotBuilt) |
void |
setTriggerOnSuccess(boolean triggerOnSuccess) |
void |
setTriggerOnUnstable(boolean triggerOnUnstable) |
void |
tokenReplace(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
void |
tokenReplaceWorkflow(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.model.TaskListener listener) |
public PagerDutyParamHolder(String routingKey, String dedupKey, String incidentSummary, String incidentSource, String incidentSeverity, String incidentComponent, String incidentGroup, String incidentClass, Integer numPreviousBuildsToProbe, boolean resolveOnBackToNormal, boolean triggerOnSuccess, boolean triggerOnFailure, boolean triggerOnUnstable, boolean triggerOnAborted, boolean triggerOnNotBuilt)
public String getRoutingKey()
public void setRoutingKey(String routingKey)
public String getDedupKey()
public void setDedupKey(String dedupKey)
public String getIncidentSummary()
public void setIncidentSummary(String incidentSummary)
public String getIncidentSource()
public void setIncidentSource(String incidentSource)
public com.github.dikhan.pagerduty.client.events.domain.Severity getIncidentSeverity()
public void setIncidentSeverity(String incidentSeverity)
public String getIncidentComponent()
public void setIncidentComponent(String incidentComponent)
public String getIncidentGroup()
public void setIncidentGroup(String incidentGroup)
public String getIncidentClass()
public void setIncidentClass(String incidentClass)
public Integer getNumPreviousBuildsToProbe()
public void setNumPreviousBuildsToProbe(Integer numPreviousBuildsToProbe)
public boolean isResolveOnBackToNormal()
public void setResolveOnBackToNormal(boolean resolveOnBackToNormal)
public boolean isTriggerOnSuccess()
public void setTriggerOnSuccess(boolean triggerOnSuccess)
public void setTriggerOnFailure(boolean triggerOnFailure)
public boolean isTriggerOnFailure()
public void setTriggerOnUnstable(boolean triggerOnUnstable)
public boolean isTriggerOnUnstable()
public void setTriggerOnAborted(boolean triggerOnAborted)
public boolean isTriggerOnAborted()
public void setTriggerOnNotBuilt(boolean triggerOnNotBuilt)
public boolean isTriggerOnNotBuilt()
public void tokenReplaceWorkflow(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.model.TaskListener listener)
throws InterruptedException,
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException,
IOException
InterruptedExceptionorg.jenkinsci.plugins.tokenmacro.MacroEvaluationExceptionIOExceptionpublic void tokenReplace(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
throws InterruptedException,
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException,
IOException
InterruptedExceptionorg.jenkinsci.plugins.tokenmacro.MacroEvaluationExceptionIOExceptionCopyright © 2016–2022. All rights reserved.