public class Webhook extends Object
Modifier and Type | Field and Description |
---|---|
static Integer |
DEFAULT_TIMEOUT |
Constructor and Description |
---|
Webhook(String url,
boolean startNotification,
boolean notifySuccess,
boolean notifyAborted,
boolean notifyNotBuilt,
boolean notifyUnstable,
boolean notifyFailure,
boolean notifyBackToNormal,
int timeout) |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckURL(String url) |
int |
getTimeout() |
String |
getUrl() |
boolean |
isNotifyAborted() |
boolean |
isNotifyBackToNormal() |
boolean |
isNotifyFailure() |
boolean |
isNotifyNotBuilt() |
boolean |
isNotifySuccess() |
boolean |
isNotifyUnstable() |
boolean |
isStartNotification() |
String |
toString() |
public static final Integer DEFAULT_TIMEOUT
@DataBoundConstructor public Webhook(String url, boolean startNotification, boolean notifySuccess, boolean notifyAborted, boolean notifyNotBuilt, boolean notifyUnstable, boolean notifyFailure, boolean notifyBackToNormal, int timeout)
public String getUrl()
public boolean isNotifySuccess()
public boolean isStartNotification()
public boolean isNotifyAborted()
public boolean isNotifyNotBuilt()
public boolean isNotifyUnstable()
public boolean isNotifyFailure()
public boolean isNotifyBackToNormal()
public int getTimeout()
public hudson.util.FormValidation doCheckURL(@QueryParameter(value="url",fixEmpty=true) String url)
Copyright © 2004-2015. All Rights Reserved.