public class NotifyEventsService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LEVEL_ERROR |
static String |
LEVEL_INFO |
static String |
LEVEL_NOTICE |
static String |
LEVEL_SUCCESS |
static String |
LEVEL_VERBOSE |
static String |
LEVEL_WARNING |
static String |
NOTIFY_EVENTS_DISPLAY_NAME |
static String |
PRIORITY_HIGH |
static String |
PRIORITY_HIGHEST |
static String |
PRIORITY_LOW |
static String |
PRIORITY_LOWEST |
static String |
PRIORITY_NORMAL |
Constructor and Description |
---|
NotifyEventsService() |
Modifier and Type | Method and Description |
---|---|
static NotifyEventsService |
getInstance() |
static Map<String,String> |
getLevels() |
static Map<String,String> |
getPriorities() |
void |
send(hudson.util.Secret token,
String title,
String message,
String priority,
String level,
Boolean attachBuildLog,
String attachment,
hudson.model.Run<?,?> run,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
List<org.jenkinsci.plugins.tokenmacro.TokenMacro> privateTokens) |
public static final String NOTIFY_EVENTS_DISPLAY_NAME
public static final String PRIORITY_LOWEST
public static final String PRIORITY_LOW
public static final String PRIORITY_NORMAL
public static final String PRIORITY_HIGH
public static final String PRIORITY_HIGHEST
public static final String LEVEL_VERBOSE
public static final String LEVEL_INFO
public static final String LEVEL_NOTICE
public static final String LEVEL_WARNING
public static final String LEVEL_ERROR
public static final String LEVEL_SUCCESS
public static NotifyEventsService getInstance()
public void send(hudson.util.Secret token, String title, String message, String priority, String level, Boolean attachBuildLog, String attachment, hudson.model.Run<?,?> run, hudson.FilePath workspace, hudson.Launcher launcher, hudson.model.TaskListener listener, List<org.jenkinsci.plugins.tokenmacro.TokenMacro> privateTokens) throws IOException
IOException
Copyright © 2016–2021. All rights reserved.