public class ThreadFixPublisher extends hudson.tasks.Recorder implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ThreadFixPublisher.DescriptorImpl
Descriptor for
ThreadFixPublisher. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
ThreadFixPublisher(String appId,
List<ScanFile> scanFiles) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAppId()
Returns the configured application ID
|
ThreadFixPublisher.DescriptorImpl |
getDescriptor()
Returns the
ThreadFixPublisher descriptor. |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Returns NONE since this is not dependent on the last step
|
List<ScanFile> |
getScanFiles()
Returns the configured scan file
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
This is what will be executed when the job is build.
|
boolean |
uploadScanFile(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
ThreadFixService threadFixService,
String scanFile)
Uploads the parameter scan file via the parameter ThreadFixService
|
all, getProjectAction, needsToRunAfterFinalized, prebuildpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic boolean uploadScanFile(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
ThreadFixService threadFixService,
String scanFile)
throws IOException,
InterruptedException
build - launcher - listener - threadFixService - scanFile - IOExceptionInterruptedExceptionpublic ThreadFixPublisher.DescriptorImpl getDescriptor()
ThreadFixPublisher descriptor. This doesn't do
anything special other than casting the return value for convenience.getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic String getAppId()
Copyright © 2014-2016. All Rights Reserved.