public class NotifyEventsBuilder
extends hudson.tasks.Builder
implements jenkins.tasks.SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
NotifyEventsBuilder.DescriptorImpl |
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
NotifyEventsBuilder() |
NotifyEventsBuilder(String token,
String message) |
NotifyEventsBuilder(String token,
String title,
String message,
String priority,
String level) |
NotifyEventsBuilder(String token,
String title,
String message,
String priority,
String level,
Boolean attachBuildLog,
String attachment) |
NotifyEventsBuilder(String token,
String title,
String message,
String priority,
String level,
String attachment) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getAttachBuildLog() |
String |
getAttachment() |
NotifyEventsBuilder.DescriptorImpl |
getDescriptor() |
String |
getLevel() |
String |
getMessage() |
String |
getPriority() |
String |
getTitle() |
String |
getToken() |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener) |
void |
setAttachBuildLog(Boolean attachBuildLog) |
void |
setAttachment(String attachment) |
void |
setLevel(String level) |
void |
setMessage(String message) |
void |
setPriority(String priority) |
void |
setTitle(String title) |
void |
setToken(hudson.util.Secret token) |
void |
setToken(String token) |
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
@DataBoundConstructor public NotifyEventsBuilder(String token, String title, String message, String priority, String level, Boolean attachBuildLog, String attachment)
public NotifyEventsBuilder(String token, String title, String message, String priority, String level)
public NotifyEventsBuilder(String token, String title, String message, String priority, String level, String attachment)
public NotifyEventsBuilder()
public NotifyEventsBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Builder>
getDescriptor
in class hudson.tasks.Builder
public String getToken()
public void setToken(String token)
public void setToken(hudson.util.Secret token)
public String getTitle()
public void setTitle(String title)
public String getMessage()
public void setMessage(String message)
public String getPriority()
public void setPriority(String priority)
public String getLevel()
public void setLevel(String level)
public Boolean getAttachBuildLog()
public void setAttachBuildLog(Boolean attachBuildLog)
public String getAttachment()
public void setAttachment(String attachment)
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
Copyright © 2016–2021. All rights reserved.