org.jenkinsci.plugins.postbuildscript
Class PostBuildScript

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by org.jenkinsci.plugins.postbuildscript.PostBuildScript
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.matrix.MatrixAggregatable, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class PostBuildScript
extends hudson.tasks.Notifier
implements hudson.matrix.MatrixAggregatable

Author:
Gregory Boissinot

Nested Class Summary
static class PostBuildScript.DescriptorImpl
           
 
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
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
PostBuildScript(List<GenericScript> genericScriptFile, List<GroovyScriptFile> groovyScriptFile, List<GroovyScriptContent> groovyScriptContent, boolean scriptOnlyIfSuccess, List<hudson.tasks.BuildStep> buildStep)
           
 
Method Summary
 hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 List<hudson.tasks.BuildStep> getBuildSteps()
           
 List<GenericScript> getGenericScriptFileList()
           
 List<GenericScript> getGenericScriptList()
          Deprecated. 
 List<GroovyScriptContent> getGroovyScriptContentList()
           
 List<GroovyScriptFile> getGroovyScriptFileList()
           
 List<GroovyScript> getGroovyScriptList()
          Deprecated. 
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean isScriptOnlyIfSuccess()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 Object readResolve()
           
 
Methods inherited from class hudson.tasks.Notifier
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
 
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, getProjectActions, prebuild
 

Constructor Detail

PostBuildScript

@DataBoundConstructor
public PostBuildScript(List<GenericScript> genericScriptFile,
                                            List<GroovyScriptFile> groovyScriptFile,
                                            List<GroovyScriptContent> groovyScriptContent,
                                            boolean scriptOnlyIfSuccess,
                                            List<hudson.tasks.BuildStep> buildStep)
Method Detail

getRequiredMonitorService

public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
Specified by:
getRequiredMonitorService in interface hudson.tasks.BuildStep

createAggregator

public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build,
                                                       hudson.Launcher launcher,
                                                       hudson.model.BuildListener listener)
Specified by:
createAggregator in interface hudson.matrix.MatrixAggregatable

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

getGenericScriptList

@Deprecated
public List<GenericScript> getGenericScriptList()
Deprecated. 


getGroovyScriptList

@Deprecated
public List<GroovyScript> getGroovyScriptList()
Deprecated. 


getGenericScriptFileList

public List<GenericScript> getGenericScriptFileList()

getGroovyScriptFileList

public List<GroovyScriptFile> getGroovyScriptFileList()

getGroovyScriptContentList

public List<GroovyScriptContent> getGroovyScriptContentList()

getBuildSteps

public List<hudson.tasks.BuildStep> getBuildSteps()

isScriptOnlyIfSuccess

public boolean isScriptOnlyIfSuccess()

readResolve

public Object readResolve()


Copyright © 2004-2012. All Rights Reserved.