hudson.plugins.ws_cleanup
Class PreBuildCleanup

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by hudson.plugins.ws_cleanup.PreBuildCleanup
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class PreBuildCleanup
extends hudson.tasks.BuildWrapper

Author:
vjuranek

Nested Class Summary
static class PreBuildCleanup.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
PreBuildCleanup(List<Pattern> patterns, boolean deleteDirs)
           
 
Method Summary
 boolean getDeleteDirs()
           
 PreBuildCleanup.DescriptorImpl getDescriptor()
           
 List<Pattern> getPatterns()
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, setUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreBuildCleanup

@DataBoundConstructor
public PreBuildCleanup(List<Pattern> patterns,
                                            boolean deleteDirs)
Method Detail

getPatterns

public List<Pattern> getPatterns()

getDeleteDirs

public boolean getDeleteDirs()

getDescriptor

public PreBuildCleanup.DescriptorImpl getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.BuildWrapper>
Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws IOException,
                                                   InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException


Copyright © 2004-2013 Hudson. All Rights Reserved.