Modifier and Type | Class and Description |
---|---|
static class |
Webhook.DescriptorImpl |
Modifier and Type | Field and Description |
---|---|
static Integer |
DEFAULT_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
List<Macro> |
getMacros() |
String |
getName() |
int |
getTimeout() |
String |
getUrl() |
boolean |
isNotifyAborted() |
boolean |
isNotifyBackToNormal() |
boolean |
isNotifyFailure() |
boolean |
isNotifyNotBuilt() |
boolean |
isNotifyRepeatedFailure() |
boolean |
isNotifySuccess() |
boolean |
isNotifyUnstable() |
boolean |
isStartNotification() |
void |
setMacros(List<Macro> macros) |
void |
setName(String name) |
void |
setNotifyAborted(boolean notifyAborted) |
void |
setNotifyBackToNormal(boolean notifyBackToNormal) |
void |
setNotifyFailure(boolean notifyFailure) |
void |
setNotifyNotBuilt(boolean notifyNotBuilt) |
void |
setNotifyRepeatedFailure(boolean notifyRepeatedFailure) |
void |
setNotifySuccess(boolean notifySuccess) |
void |
setNotifyUnstable(boolean notifyUnstable) |
void |
setStartNotification(boolean startNotification) |
void |
setTimeout(int timeout) |
public static final Integer DEFAULT_TIMEOUT
@DataBoundConstructor public Webhook(String url)
public String getUrl()
public String getName()
@DataBoundSetter public void setName(String name)
public boolean isNotifySuccess()
@DataBoundSetter public void setNotifySuccess(boolean notifySuccess)
public boolean isStartNotification()
@DataBoundSetter public void setStartNotification(boolean startNotification)
public boolean isNotifyAborted()
@DataBoundSetter public void setNotifyAborted(boolean notifyAborted)
public boolean isNotifyNotBuilt()
@DataBoundSetter public void setNotifyNotBuilt(boolean notifyNotBuilt)
public boolean isNotifyUnstable()
@DataBoundSetter public void setNotifyUnstable(boolean notifyUnstable)
public boolean isNotifyFailure()
@DataBoundSetter public void setNotifyFailure(boolean notifyFailure)
public boolean isNotifyBackToNormal()
@DataBoundSetter public void setNotifyBackToNormal(boolean notifyBackToNormal)
public boolean isNotifyRepeatedFailure()
@DataBoundSetter public void setNotifyRepeatedFailure(boolean notifyRepeatedFailure)
public int getTimeout()
@DataBoundSetter public void setTimeout(int timeout)
Copyright © 2016–2019. All rights reserved.