hudson.plugins.ws_cleanup
Class WsCleanup

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

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

Author:
dvrzalik

Nested Class Summary
static class WsCleanup.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
WsCleanup(List<Pattern> patterns, boolean deleteDirs, boolean skipWhenFailed, boolean notFailBuild, boolean cleanupMatrixParent)
           
 
Method Summary
 hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 boolean getCleanupMatrixParent()
           
 boolean getDeleteDirs()
           
 boolean getNotFailBuild()
           
 List<Pattern> getPatterns()
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 boolean getSkipWhenFailed()
           
 boolean needsToRunAfterFinalized()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Notifier
getDescriptor
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRun, 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

WsCleanup

@DataBoundConstructor
public WsCleanup(List<Pattern> patterns,
                                      boolean deleteDirs,
                                      boolean skipWhenFailed,
                                      boolean notFailBuild,
                                      boolean cleanupMatrixParent)
Method Detail

getPatterns

public List<Pattern> getPatterns()

getDeleteDirs

public boolean getDeleteDirs()

getSkipWhenFailed

public boolean getSkipWhenFailed()

getNotFailBuild

public boolean getNotFailBuild()

getCleanupMatrixParent

public boolean getCleanupMatrixParent()

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

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

getRequiredMonitorService

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

needsToRunAfterFinalized

public boolean needsToRunAfterFinalized()
Overrides:
needsToRunAfterFinalized in class hudson.tasks.Publisher


Copyright © 2004-2013 Hudson. All Rights Reserved.