org.jenkins_ci.plugins.flexible_publish
Class FlexiblePublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class FlexiblePublisher
extends hudson.tasks.Recorder


Nested Class Summary
static class FlexiblePublisher.FlexiblePublisherDescriptor
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
static String PROMOTION_JOB_TYPE
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
FlexiblePublisher(ArrayList<ConditionalPublisher> publishers)
           
 
Method Summary
 Collection getProjectActions(hudson.model.AbstractProject<?,?> project)
           
 ArrayList<ConditionalPublisher> getPublishers()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Recorder
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction
 

Field Detail

PROMOTION_JOB_TYPE

public static final String PROMOTION_JOB_TYPE
See Also:
Constant Field Values
Constructor Detail

FlexiblePublisher

@DataBoundConstructor
public FlexiblePublisher(ArrayList<ConditionalPublisher> publishers)
Method Detail

getPublishers

public ArrayList<ConditionalPublisher> getPublishers()

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()

getProjectActions

public Collection getProjectActions(hudson.model.AbstractProject<?,?> project)
Specified by:
getProjectActions in interface hudson.tasks.BuildStep
Overrides:
getProjectActions in class hudson.tasks.BuildStepCompatibilityLayer

prebuild

public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
                        hudson.model.BuildListener listener)
Specified by:
prebuild in interface hudson.tasks.BuildStep
Overrides:
prebuild in class hudson.tasks.BuildStepCompatibilityLayer

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
                throws InterruptedException,
                       IOException
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
Throws:
InterruptedException
IOException


Copyright © 2004-2011. All Rights Reserved.