public interface IConfigurator
Modifier and Type | Method and Description |
---|---|
boolean |
applyToProject(IFlexProject project)
Apply the current configuration settings to a given project.
|
ICompilerProblemSettings |
getCompilerProblemSettings()
Get the settings that control how compiler problems are reported.
|
Collection<ICompilerProblem> |
getConfigurationProblems()
Get the configuration problems.
|
List<String> |
getLoadedConfigurationFiles()
Get the list of configuration files that were loaded while processing
compiler settings.
|
List<String> |
getMissingConfigurationFiles()
Get the list of configuration files that were specified to be loaded but not found
while processing compiler settings.
|
ITargetSettings |
getTargetSettings(ITarget.TargetType targetType)
Get the settings that apply to a given type of target based on the
current state of the configuration.
|
void |
setConfigurationPathResolver(IPathResolver pathResolver)
Set a path resolver for files used in the command line options and
configuration files.
|
Collection<ICompilerProblem> |
validateConfiguration(String[] args,
ITarget.TargetType targetType)
Validates that the specified compiler options are syntactically correct.
|
boolean applyToProject(IFlexProject project)
project
- The project to apply the configuration settings to.ITargetSettings getTargetSettings(ITarget.TargetType targetType)
targetType
- ICompilerProblemSettings getCompilerProblemSettings()
List<String> getLoadedConfigurationFiles()
List<String> getMissingConfigurationFiles()
Collection<ICompilerProblem> validateConfiguration(String[] args, ITarget.TargetType targetType)
args
- An array of compiler options. May not be null.targetType
- the target for which the configuration will be applied.NullPointerException
- if args is null.Collection<ICompilerProblem> getConfigurationProblems()
The problems in this list contain both errors and warnings.
void setConfigurationPathResolver(IPathResolver pathResolver)
pathResolver
- a path resolver for configuration files.Copyright © 2016 The Apache Software Foundation. All rights reserved.