public class BearyChatNotifier
extends hudson.tasks.Notifier
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BearyChatNotifier.DescriptorImpl |
| 构造器和说明 |
|---|
BearyChatNotifier(String webhook,
String channel,
String buildServerUrl,
boolean isNotifyOnStarting,
boolean isNotifyOnAborted,
boolean isNotifyOnFailure,
boolean isNotifyOnNotBuilt,
boolean isNotifyOnSuccess,
boolean isNotifyOnUnstable,
boolean isNotifyOnBackToNormal,
boolean isIncludeCustomMessage,
String customStartMessage,
String customEndMessage) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBuildServerUrl() |
String |
getChannel() |
String |
getCustomEndMessage() |
String |
getCustomStartMessage() |
BearyChatNotifier.DescriptorImpl |
getDescriptor() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getWebhook() |
boolean |
isIncludeCustomMessage() |
boolean |
isNotifyOnAborted() |
boolean |
isNotifyOnBackToNormal() |
boolean |
isNotifyOnFailure() |
boolean |
isNotifyOnNotBuilt() |
boolean |
isNotifyOnStarting() |
boolean |
isNotifyOnSuccess() |
boolean |
isNotifyOnUnstable() |
BearyChatService |
newBearyChatService(hudson.model.AbstractBuild r,
hudson.model.BuildListener listener) |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
@DataBoundConstructor public BearyChatNotifier(String webhook, String channel, String buildServerUrl, boolean isNotifyOnStarting, boolean isNotifyOnAborted, boolean isNotifyOnFailure, boolean isNotifyOnNotBuilt, boolean isNotifyOnSuccess, boolean isNotifyOnUnstable, boolean isNotifyOnBackToNormal, boolean isIncludeCustomMessage, String customStartMessage, String customEndMessage)
public BearyChatNotifier.DescriptorImpl getDescriptor()
getDescriptor 在接口中 hudson.model.Describable<hudson.tasks.Publisher>getDescriptor 在类中 hudson.tasks.Notifierpublic String getWebhook()
public String getChannel()
public String getBuildServerUrl()
public boolean isNotifyOnStarting()
public boolean isNotifyOnSuccess()
public boolean isNotifyOnAborted()
public boolean isNotifyOnFailure()
public boolean isNotifyOnNotBuilt()
public boolean isNotifyOnUnstable()
public boolean isNotifyOnBackToNormal()
public boolean isIncludeCustomMessage()
public String getCustomStartMessage()
public String getCustomEndMessage()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public BearyChatService newBearyChatService(hudson.model.AbstractBuild r, hudson.model.BuildListener listener)
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform 在接口中 hudson.tasks.BuildStepperform 在类中 hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild 在接口中 hudson.tasks.BuildStepprebuild 在类中 hudson.tasks.BuildStepCompatibilityLayerCopyright © 2016–2017. All rights reserved.