public class GoogleChatNotification
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleChatNotification.Descriptor |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
GoogleChatNotification(String url,
String message) |
| Modifier and Type | Method and Description |
|---|---|
GoogleChatNotification.Descriptor |
getDescriptor() |
String |
getMessage() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getUrl() |
boolean |
isNotifyAborted() |
boolean |
isNotifyBackToNormal() |
boolean |
isNotifyFailure() |
boolean |
isNotifyNotBuilt() |
boolean |
isNotifySuccess() |
boolean |
isNotifyUnstable() |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
void |
setNotifyAborted(boolean notifyAborted) |
void |
setNotifyBackToNormal(boolean notifyBackToNormal) |
void |
setNotifyFailure(boolean notifyFailure) |
void |
setNotifyNotBuilt(boolean notifyNotBuilt) |
void |
setNotifySuccess(boolean notifySuccess) |
void |
setNotifyUnstable(boolean notifyUnstable) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, prebuildpublic boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerpublic void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath workspace, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener)
perform in interface jenkins.tasks.SimpleBuildSteppublic GoogleChatNotification.Descriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic String getUrl()
public String getMessage()
public boolean isNotifyAborted()
public boolean isNotifyFailure()
public boolean isNotifyNotBuilt()
public boolean isNotifySuccess()
public boolean isNotifyUnstable()
public boolean isNotifyBackToNormal()
@DataBoundSetter public void setNotifyAborted(boolean notifyAborted)
@DataBoundSetter public void setNotifyFailure(boolean notifyFailure)
@DataBoundSetter public void setNotifyNotBuilt(boolean notifyNotBuilt)
@DataBoundSetter public void setNotifySuccess(boolean notifySuccess)
@DataBoundSetter public void setNotifyUnstable(boolean notifyUnstable)
@DataBoundSetter public void setNotifyBackToNormal(boolean notifyBackToNormal)
Copyright © 2016–2018. All rights reserved.