public class PublisherRecorder
extends hudson.tasks.Recorder
| Modifier and Type | Class and Description |
|---|---|
static class |
PublisherRecorder.DescriptorImpl
Descriptor for
PublisherRecorder. |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
PublisherRecorder(String project,
Boolean overridePathsBool,
List<PublisherPath> overridePaths)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
PublisherBreakOptions |
getBreakOptions()
Get break options
|
PublisherCredentials |
getCredentials()
Get credentials
|
PublisherRecorder.DescriptorImpl |
getDescriptor()
Get descriptor
|
PublisherBreakOptions |
getOverrideBreakOptions()
Get override break options
|
PublisherCredentials |
getOverrideCredentials()
Get override credentials
|
ArrayList<PublisherPath> |
getOverridePaths()
Get override paths
|
String |
getProject()
Get project
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project)
Get project action
|
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService()
Get required monitor service
|
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
Perform publish step
|
void |
setOverrideBreakOptions(PublisherBreakOptions overrideBreakOptions)
Set optional params breakOptions.
|
void |
setOverrideCredentials(PublisherCredentials overrideCredentials)
Set optional params credentials.
|
all, getProjectAction, needsToRunAfterFinalized, prebuild@DataBoundConstructor public PublisherRecorder(String project, Boolean overridePathsBool, List<PublisherPath> overridePaths)
project - projectoverridePathsBool - overridePathsBooloverridePaths - overridePaths@DataBoundSetter public void setOverrideCredentials(PublisherCredentials overrideCredentials)
overrideCredentials - overrideCredentials@DataBoundSetter public void setOverrideBreakOptions(PublisherBreakOptions overrideBreakOptions)
overrideBreakOptions - overrideBreakOptionspublic String getProject()
public ArrayList<PublisherPath> getOverridePaths()
public PublisherCredentials getOverrideCredentials()
public PublisherBreakOptions getOverrideBreakOptions()
public PublisherCredentials getCredentials()
public PublisherBreakOptions getBreakOptions()
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerbuild - buildlauncher - launcherlistener - listenerInterruptedException - InterruptedExceptionpublic hudson.tasks.BuildStepMonitor getRequiredMonitorService()
public PublisherRecorder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>getDescriptor in class hudson.tasks.Recorderpublic hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerproject - projectCopyright © 2016–2017 EACG, Enterprise Architecture Consulting Group GmbH. All rights reserved.