jenkins.plugins.workspace_cleaner
Class FilePathAdapter

java.lang.Object
  extended by jenkins.plugins.workspace_cleaner.FilePathAdapter

public class FilePathAdapter
extends Object


Constructor Summary
FilePathAdapter()
           
 
Method Summary
 void deleteRecursive(hudson.FilePath filePath)
           
 List<hudson.FilePath> getFilesInWorkspace(hudson.model.AbstractBuild<?,?> build)
           
 List<hudson.FilePath> getModulesInScm(hudson.model.AbstractBuild<?,?> build)
           
 String getName(hudson.FilePath filePath)
           
 boolean isDirectory(hudson.FilePath filePath)
           
 boolean isSvnModule(hudson.FilePath filePath)
           
 List<hudson.FilePath> listDirectory(hudson.FilePath directory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePathAdapter

public FilePathAdapter()
Method Detail

deleteRecursive

public void deleteRecursive(hudson.FilePath filePath)
                     throws IOException,
                            InterruptedException
Throws:
IOException
InterruptedException

getName

public String getName(hudson.FilePath filePath)

getFilesInWorkspace

public List<hudson.FilePath> getFilesInWorkspace(hudson.model.AbstractBuild<?,?> build)
                                          throws IOException,
                                                 InterruptedException
Throws:
IOException
InterruptedException

getModulesInScm

public List<hudson.FilePath> getModulesInScm(hudson.model.AbstractBuild<?,?> build)

isSvnModule

public boolean isSvnModule(hudson.FilePath filePath)
                    throws IOException,
                           InterruptedException
Throws:
IOException
InterruptedException

listDirectory

public List<hudson.FilePath> listDirectory(hudson.FilePath directory)
                                    throws IOException,
                                           InterruptedException
Throws:
IOException
InterruptedException

isDirectory

public boolean isDirectory(hudson.FilePath filePath)
                    throws IOException,
                           InterruptedException
Throws:
IOException
InterruptedException


Copyright © 2004-2014. All Rights Reserved.