public class GoogleChatNotification
extends hudson.tasks.Notifier
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 |
|---|---|
hudson.model.Run |
getBuild() |
GoogleChatNotification.Descriptor |
getDescriptor() |
LogUtil |
getLogUtil() |
String |
getMessage() |
String |
getMessageFormat() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
ResponseMessageUtil |
getResponseMessageUtil() |
hudson.model.TaskListener |
getTaskListener() |
String |
getThreadKey() |
String |
getUrl() |
hudson.FilePath |
getWs() |
boolean |
isCardMessageFormat() |
boolean |
isNotifyAborted() |
boolean |
isNotifyBackToNormal() |
boolean |
isNotifyFailure() |
boolean |
isNotifyNotBuilt() |
boolean |
isNotifySuccess() |
boolean |
isNotifyUnstable() |
boolean |
isSameThreadNotification() |
boolean |
isSimpleMessageFormat() |
boolean |
isSuppressInfoLoggers() |
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 |
setBuild(hudson.model.Run build) |
void |
setLogUtil(LogUtil logUtil) |
void |
setMessageFormat(String messageFormat) |
void |
setNotifyAborted(boolean notifyAborted) |
void |
setNotifyBackToNormal(boolean notifyBackToNormal) |
void |
setNotifyFailure(boolean notifyFailure) |
void |
setNotifyNotBuilt(boolean notifyNotBuilt) |
void |
setNotifySuccess(boolean notifySuccess) |
void |
setNotifyUnstable(boolean notifyUnstable) |
void |
setResponseMessageUtil(ResponseMessageUtil responseMessageUtil) |
void |
setSameThreadNotification(boolean sameThreadNotification) |
void |
setSuppressInfoLoggers(boolean suppressInfoLoggers) |
void |
setTaskListener(hudson.model.TaskListener taskListener) |
void |
setThreadKey(String threadKey) |
void |
setWs(hudson.FilePath ws) |
String |
toString() |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, prebuild@DataBoundSetter public void setMessageFormat(String messageFormat)
@DataBoundSetter public void setSameThreadNotification(boolean sameThreadNotification)
@DataBoundSetter public void setThreadKey(String threadKey)
@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)
@DataBoundSetter public void setSuppressInfoLoggers(boolean suppressInfoLoggers)
public String getUrl()
public String getMessage()
public String getMessageFormat()
public boolean isSimpleMessageFormat()
public boolean isCardMessageFormat()
public String getThreadKey()
public boolean isSameThreadNotification()
public boolean isNotifyAborted()
public boolean isNotifyFailure()
public boolean isNotifyNotBuilt()
public boolean isNotifySuccess()
public boolean isNotifyUnstable()
public boolean isNotifyBackToNormal()
public boolean isSuppressInfoLoggers()
public hudson.model.TaskListener getTaskListener()
public void setTaskListener(hudson.model.TaskListener taskListener)
public hudson.FilePath getWs()
public void setWs(hudson.FilePath ws)
public hudson.model.Run getBuild()
public void setBuild(hudson.model.Run build)
public LogUtil getLogUtil()
public void setLogUtil(LogUtil logUtil)
public ResponseMessageUtil getResponseMessageUtil()
public void setResponseMessageUtil(ResponseMessageUtil responseMessageUtil)
public 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.Notifierpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildStepCopyright © 2016–2023. All rights reserved.