public interface BuildConfigManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_FILE_SUFFIX |
static java.lang.String |
DEFAULT_CONFIG_LABEL |
Modifier and Type | Method and Description |
---|---|
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.
|
static final java.lang.String CONFIG_FILE_SUFFIX
static final java.lang.String DEFAULT_CONFIG_LABEL
java.lang.String getActiveConfigFile()
void setActiveConfigFile(java.lang.String currConfigFilePath)
full
- path to the filevoid addListener(BuildConfigListener configurationListener)
void removeListener(BuildConfigListener configurationListener)
BuildConfigModel buildModel(java.lang.String configFilePath)
full
- path to the filevoid writeModel(BuildConfigModel model)
void writePaths(java.lang.String configFilePath, java.util.List paths)
void addFilesToConfig(java.lang.String configFilePath, java.util.List files)
configFilePath
- full path to the configuration filefiles
- list of full paths to the files to be addedvoid removeFilesFromConfig(java.lang.String configFilePath, java.util.List files)
configFilePath
- full path to the configuration filefiles
- list of full paths to the files to be removedjava.util.List getAllBuildConfigFiles()