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.BuildStep
public boolean needsToRunAfterFinalized()
needsToRunAfterFinalized
in class hudson.tasks.Publisher
public 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.BuildStep
prebuild
in class hudson.tasks.BuildStepCompatibilityLayer
public 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.BuildStep
perform
in class hudson.tasks.BuildStepCompatibilityLayer
java.lang.InterruptedException
java.io.IOException
public java.util.Collection<? extends hudson.model.Action> getProjectActions(hudson.model.AbstractProject<?,?> project)
getProjectActions
in interface hudson.tasks.BuildStep
getProjectActions
in class hudson.tasks.BuildStepCompatibilityLayer
public void buildDependencyGraph(hudson.model.AbstractProject project, hudson.model.DependencyGraph graph)
buildDependencyGraph
in interface jenkins.model.DependencyDeclarer
Copyright © 2004-2016. All Rights Reserved.