com.metamatrix.core.util
Class TempDirectoryMonitor

java.lang.Object
  extended by com.metamatrix.core.util.TempDirectoryMonitor

public class TempDirectoryMonitor
extends java.lang.Object

Keeps track of all TempDirectories created so that they can be removed. This class exists so that when test suites are run there is a simple way to cleanup. Ideally the application and tests will clean up after themselves without the need for this class.


Constructor Summary
TempDirectoryMonitor()
           
 
Method Summary
protected  void createdTempDirectory(TempDirectory tempDirectoryToCreate)
           
static boolean hasTempDirectoryToRemove()
           
static void removeAll()
           
static void turnOn()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TempDirectoryMonitor

public TempDirectoryMonitor()
Method Detail

createdTempDirectory

protected void createdTempDirectory(TempDirectory tempDirectoryToCreate)

turnOn

public static void turnOn()

removeAll

public static void removeAll()

hasTempDirectoryToRemove

public static boolean hasTempDirectoryToRemove()


Copyright © 2009. All Rights Reserved.