Package org.aspectj.ajde.internal
Interface BuildConfigManager
- All Known Implementing Classes:
LstBuildConfigManager
public interface BuildConfigManager
- Author:
- Mik Kersten
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFilesToConfig(String configFilePath, List files)
Add files to a configuration.void
addListener(BuildConfigListener configurationListener)
Add a listner that will be notified of build configuration change eventsbuildModel(String configFilePath)
Build a model for the corresponding configuration file.Returns the currently active build configuration file.void
removeFilesFromConfig(String configFilePath, List files)
Remove files from a configuration.void
removeListener(BuildConfigListener configurationListener)
Remove a configuration listener.void
setActiveConfigFile(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(String configFilePath, List<String> paths)
Write a list of source files into a configuration file.
-
Field Details
-
CONFIG_FILE_SUFFIX
- See Also:
- Constant Field Values
-
DEFAULT_CONFIG_LABEL
- See Also:
- Constant Field Values
-
-
Method Details
-
getActiveConfigFile
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
Sets the currently active build configuration file.- Parameters:
currConfigFilePath
- full path to the file
-
addListener
Add a listner that will be notified of build configuration change events -
removeListener
Remove a configuration listener. -
buildModel
Build a model for the corresponding configuration file.- Parameters:
configFilePath
- full path to the file
-
writeModel
Save the given configuration model to the file that it was generated from. -
writePaths
Write a list of source files into a configuration file. File paths will be written relative to the path of the configuration file. -
addFilesToConfig
Add files to a configuration.- Parameters:
configFilePath
- full path to the configuration filefiles
- list of full paths to the files to be added
-
removeFilesFromConfig
Remove files from a configuration.- Parameters:
configFilePath
- full path to the configuration filefiles
- list of full paths to the files to be removed
-
getAllBuildConfigFiles
List getAllBuildConfigFiles()- Returns:
- list (of Strings) of all build configuration files found so far
-