public class ProxyPublisher
extends hudson.tasks.Recorder
implements hudson.model.DependecyDeclarer
| Modifier and Type | Class and Description |
|---|---|
static class |
ProxyPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpl| Constructor and Description |
|---|
ProxyPublisher(java.lang.String projectName) |
| Modifier and Type | Method and Description |
|---|---|
void |
buildDependencyGraph(hudson.model.AbstractProject project,
hudson.model.DependencyGraph graph)
Any of the publisher could support the DependecyDeclarer interface,
so proxy will handle it as well.
|
java.lang.String |
getExpandedProjectName(hudson.model.AbstractBuild<?,?> build) |
hudson.model.AbstractProject<?,?> |
getProject() |
java.util.Collection<? extends hudson.model.Action> |
getProjectActions(hudson.model.AbstractProject<?,?> project) |
java.lang.String |
getProjectName() |
java.util.List<hudson.tasks.Publisher> |
getProjectPublishersList(hudson.model.AbstractBuild<?,?> build) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
boolean |
needsToRunAfterFinalized() |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
boolean |
prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener) |
@DataBoundConstructor public ProxyPublisher(java.lang.String projectName)
public java.lang.String getProjectName()
public java.lang.String getExpandedProjectName(hudson.model.AbstractBuild<?,?> build)
public hudson.model.AbstractProject<?,?> getProject()
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic boolean needsToRunAfterFinalized()
needsToRunAfterFinalized in class hudson.tasks.Publisherpublic java.util.List<hudson.tasks.Publisher> getProjectPublishersList(hudson.model.AbstractBuild<?,?> build)
public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
prebuild in interface hudson.tasks.BuildStepprebuild in class hudson.tasks.BuildStepCompatibilityLayerpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws java.lang.InterruptedException,
java.io.IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerjava.lang.InterruptedExceptionjava.io.IOExceptionpublic java.util.Collection<? extends hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
getProjectActions in interface hudson.tasks.BuildStepgetProjectActions in class hudson.tasks.BuildStepCompatibilityLayerpublic void buildDependencyGraph(hudson.model.AbstractProject project,
hudson.model.DependencyGraph graph)
buildDependencyGraph in interface jenkins.model.DependencyDeclarerCopyright © 2004-2016. All Rights Reserved.