public class ConnectNotifier extends hudson.tasks.Recorder implements Serializable, jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectNotifier.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Modifier and Type | Field and Description |
|---|---|
static com.squareup.okhttp.MediaType |
MEDIA_TYPE |
static String |
TOKEN_HEADER_NAME |
| Constructor and Description |
|---|
ConnectNotifier(String token,
String url,
Integer appId,
String mask) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAppId() |
String |
getMask() |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getToken() |
String |
getUrl() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
perform(hudson.model.Run<?,?> run,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener taskListener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectAction, getProjectActions, perform, prebuildpublic static final String TOKEN_HEADER_NAME
public static final com.squareup.okhttp.MediaType MEDIA_TYPE
public String getToken()
public String getUrl()
public Integer getAppId()
public String getMask()
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 boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws IOException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerIOExceptionInterruptedExceptionCopyright © 2016–2017. All rights reserved.