hudson.plugins.tmpcleaner
Class TmpCleanTask

java.lang.Object
  extended by hudson.plugins.tmpcleaner.TmpCleanTask
All Implemented Interfaces:
hudson.remoting.Callable<java.lang.Void,java.io.IOException>, java.io.Serializable

public class TmpCleanTask
extends java.lang.Object
implements hudson.remoting.Callable<java.lang.Void,java.io.IOException>

Recursively visits a directory and remove unused files.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
TmpCleanTask(java.lang.String extraDirectories, long days)
           
 
Method Summary
 java.lang.Void call()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TmpCleanTask

public TmpCleanTask(java.lang.String extraDirectories,
                    long days)
Method Detail

call

public java.lang.Void call()
                    throws java.io.IOException
Specified by:
call in interface hudson.remoting.Callable<java.lang.Void,java.io.IOException>
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.