public class TelegramBotPublisher
extends hudson.tasks.Notifier
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
TelegramBotPublisher.Descriptor |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
TelegramBotPublisher(String message,
boolean whenSuccess,
boolean whenUnstable,
boolean whenFailed,
boolean whenAborted) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
isWhenAborted() |
boolean |
isWhenFailed() |
boolean |
isWhenSuccess() |
boolean |
isWhenUnstable() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, perform, prebuild@DataBoundConstructor public TelegramBotPublisher(String message, boolean whenSuccess, boolean whenUnstable, boolean whenFailed, boolean whenAborted)
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic void perform(@Nonnull hudson.model.Run<?,?> run, @Nonnull hudson.FilePath filePath, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener taskListener) throws InterruptedException, IOException
perform in interface jenkins.tasks.SimpleBuildStepInterruptedExceptionIOExceptionpublic String getMessage()
public boolean isWhenSuccess()
public boolean isWhenUnstable()
public boolean isWhenFailed()
public boolean isWhenAborted()
Copyright © 2016–2019. All rights reserved.