Class LstBuildConfigManager
java.lang.Object
org.aspectj.ajde.internal.LstBuildConfigManager
-
Field Summary
FieldsFields inherited from interface org.aspectj.ajde.internal.BuildConfigManager
CONFIG_FILE_SUFFIX, DEFAULT_CONFIG_LABEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFilesToConfig(String configFilePath, List paths) Add files to a configuration.voidaddListener(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.voidremoveFilesFromConfig(String configFilePath, List files) Remove files from a configuration.voidremoveListener(BuildConfigListener configurationListener) Remove a configuration listener.voidsetActiveConfigFile(String currConfigFilePath) Sets the currently active build configuration file.voidwriteModel(BuildConfigModel model) Save the given configuration model to the file that it was generated from.voidwritePaths(String configFilePath, List<String> files) Write a list of source files into a configuration file.
-
Field Details
-
currConfigFilePath
-
-
Constructor Details
-
LstBuildConfigManager
public LstBuildConfigManager()
-
-
Method Details
-
buildModel
Description copied from interface:BuildConfigManagerBuild a model for the corresponding configuration file.- Specified by:
buildModelin interfaceBuildConfigManager- Parameters:
configFilePath- full path to the file
-
writeModel
Description copied from interface:BuildConfigManagerSave the given configuration model to the file that it was generated from.- Specified by:
writeModelin interfaceBuildConfigManager
-
writePaths
Description copied from interface:BuildConfigManagerWrite a list of source files into a configuration file. File paths will be written relative to the path of the configuration file.- Specified by:
writePathsin interfaceBuildConfigManager
-
addFilesToConfig
Description copied from interface:BuildConfigManagerAdd files to a configuration.- Specified by:
addFilesToConfigin interfaceBuildConfigManager- Parameters:
configFilePath- full path to the configuration filepaths- list of full paths to the files to be added
-
removeFilesFromConfig
Description copied from interface:BuildConfigManagerRemove files from a configuration.- Specified by:
removeFilesFromConfigin interfaceBuildConfigManager- Parameters:
configFilePath- full path to the configuration filefiles- list of full paths to the files to be removed
-
getActiveConfigFile
Description copied from interface:BuildConfigManagerReturns 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.- Specified by:
getActiveConfigFilein interfaceBuildConfigManager- Returns:
- full path to the file
-
setActiveConfigFile
Description copied from interface:BuildConfigManagerSets the currently active build configuration file.- Specified by:
setActiveConfigFilein interfaceBuildConfigManager- Parameters:
currConfigFilePath- full path to the file
-
addListener
Description copied from interface:BuildConfigManagerAdd a listner that will be notified of build configuration change events- Specified by:
addListenerin interfaceBuildConfigManager
-
removeListener
Description copied from interface:BuildConfigManagerRemove a configuration listener.- Specified by:
removeListenerin interfaceBuildConfigManager
-
getAllBuildConfigFiles
- Specified by:
getAllBuildConfigFilesin interfaceBuildConfigManager- Returns:
- list (of Strings) of all build configuration files found so far
-