org.aspectj.ajde.internal
Interface BuildConfigManager

All Known Implementing Classes:
LstBuildConfigManager

public interface BuildConfigManager


Field Summary
static java.lang.String CONFIG_FILE_SUFFIX
           
static java.lang.String DEFAULT_CONFIG_LABEL
           
 
Method Summary
 void addFilesToConfig(java.lang.String configFilePath, java.util.List files)
          Add files to a configuration.
 void addListener(BuildConfigListener configurationListener)
          Add a listner that will be notified of build configuration change events
 BuildConfigModel buildModel(java.lang.String configFilePath)
          Build a model for the corresponding configuration file.
 java.lang.String getActiveConfigFile()
          Returns the currently active build configuration file.
 java.util.List getAllBuildConfigFiles()
           
 void removeFilesFromConfig(java.lang.String configFilePath, java.util.List files)
          Remove files from a configuration.
 void removeListener(BuildConfigListener configurationListener)
          Remove a configuration listener.
 void setActiveConfigFile(java.lang.String currConfigFilePath)
          Sets the currently active build configuration file.
 void writeModel(BuildConfigModel model)
          Save the given configuration model to the file that it was generated from.
 void writePaths(java.lang.String configFilePath, java.util.List paths)
          Write a list of source files into a configuration file.
 

Field Detail

CONFIG_FILE_SUFFIX

static final java.lang.String CONFIG_FILE_SUFFIX
See Also:
Constant Field Values

DEFAULT_CONFIG_LABEL

static final java.lang.String DEFAULT_CONFIG_LABEL
See Also:
Constant Field Values
Method Detail

getActiveConfigFile

java.lang.String getActiveConfigFile()
Returns the currently active build configuration file. The current active build configuration file that is set in this class is used for building and for updating the structure model.

Returns:
full path to the file

setActiveConfigFile

void setActiveConfigFile(java.lang.String currConfigFilePath)
Sets the currently active build configuration file.

Parameters:
full - path to the file

addListener

void addListener(BuildConfigListener configurationListener)
Add a listner that will be notified of build configuration change events


removeListener

void removeListener(BuildConfigListener configurationListener)
Remove a configuration listener.


buildModel

BuildConfigModel buildModel(java.lang.String configFilePath)
Build a model for the corresponding configuration file.

Parameters:
full - path to the file

writeModel

void writeModel(BuildConfigModel model)
Save the given configuration model to the file that it was generated from.


writePaths

void writePaths(java.lang.String configFilePath,
                java.util.List paths)
Write a list of source files into a configuration file. File paths will be written relative to the path of the configuration file.


addFilesToConfig

void addFilesToConfig(java.lang.String configFilePath,
                      java.util.List files)
Add files to a configuration.

Parameters:
configFilePath - full path to the configuration file
files - list of full paths to the files to be added

removeFilesFromConfig

void removeFilesFromConfig(java.lang.String configFilePath,
                           java.util.List files)
Remove files from a configuration.

Parameters:
configFilePath - full path to the configuration file
files - list of full paths to the files to be removed

getAllBuildConfigFiles

java.util.List getAllBuildConfigFiles()
Returns:
list (of Strings) of all build configuration files found so far