org.sonar.batch.bootstrap
Class TempDirectories

java.lang.Object
  extended by org.sonar.batch.bootstrap.TempDirectories

public final class TempDirectories
extends Object


Field Summary
static int AGE_BEFORE_DELETION
           
static String DIR_PREFIX
           
 
Constructor Summary
TempDirectories()
           
 
Method Summary
 File getDir(String key)
          Get or create a working directory
 File getFile(String directoryKey, String filename)
           
 File getRoot()
           
 void stop()
          This method is executed by picocontainer during shutdown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIR_PREFIX

public static final String DIR_PREFIX
See Also:
Constant Field Values

AGE_BEFORE_DELETION

public static final int AGE_BEFORE_DELETION
See Also:
Constant Field Values
Constructor Detail

TempDirectories

public TempDirectories()
                throws IOException
Throws:
IOException
Method Detail

getRoot

public File getRoot()

getDir

public File getDir(String key)
Get or create a working directory


getFile

public File getFile(String directoryKey,
                    String filename)

stop

public void stop()
This method is executed by picocontainer during shutdown.



Copyright © 2009-2012 SonarSource. All Rights Reserved.