org.aspectj.ajdt.internal.core.builder
Class IncrementalStateManager

java.lang.Object
  extended by org.aspectj.ajdt.internal.core.builder.IncrementalStateManager

public class IncrementalStateManager
extends java.lang.Object

Central point for all things incremental... - keeps track of the state recorded for each different config file - allows limited interaction with these states - records dependency/change info for particular classpaths > this will become what JDT keeps in its 'State' object when its finished


Field Summary
static boolean debugIncrementalStates
           
static boolean recordIncrementalStates
           
 
Constructor Summary
IncrementalStateManager()
           
 
Method Summary
static void clearIncrementalStates()
           
static AjState findStateManagingOutputLocation(java.io.File location)
           
static java.util.Set getConfigFilesKnown()
           
static void persist()
          Store states on disk
static void recordSuccessfulBuild(java.lang.String buildConfig, AjState state)
           
static boolean removeIncrementalStateInformationFor(java.lang.String buildConfig)
           
static AjState retrieveStateFor(java.lang.String configFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recordIncrementalStates

public static boolean recordIncrementalStates

debugIncrementalStates

public static boolean debugIncrementalStates
Constructor Detail

IncrementalStateManager

public IncrementalStateManager()
Method Detail

recordSuccessfulBuild

public static void recordSuccessfulBuild(java.lang.String buildConfig,
                                         AjState state)

persist

public static void persist()
Store states on disk


removeIncrementalStateInformationFor

public static boolean removeIncrementalStateInformationFor(java.lang.String buildConfig)

clearIncrementalStates

public static void clearIncrementalStates()

getConfigFilesKnown

public static java.util.Set getConfigFilesKnown()

retrieveStateFor

public static AjState retrieveStateFor(java.lang.String configFile)

findStateManagingOutputLocation

public static AjState findStateManagingOutputLocation(java.io.File location)