public class TelegramBotMessager
extends hudson.tasks.Notifier
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
TelegramBotMessager.Descriptor |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
TelegramBotMessager(String message) |
Modifier and Type | Method and Description |
---|---|
Long |
getChatId() |
String |
getMessage() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener) |
void |
setChatId(Long chatId) |
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public TelegramBotMessager(String message)
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
public 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.SimpleBuildStep
InterruptedException
IOException
public String getMessage()
public Long getChatId()
@DataBoundSetter public void setChatId(Long chatId)
Copyright © 2016–2019. All rights reserved.