public class BuilderApplication extends Application
resolver| Constructor and Description |
|---|
BuilderApplication(File file) |
BuilderApplication(File file,
LibraryCache cache) |
BuilderApplication(VirtualLocalFile file) |
BuilderApplication(VirtualLocalFile[] files) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
compile(boolean incremental)
Compiles the
Application object. |
Configuration |
getConfiguration()
Gets the compiler options for this object.
|
Configuration |
getDefaultConfiguration()
Gets the default compiler options.
|
void |
setConfiguration(Configuration configuration)
Sets the compiler options for this object.
|
build, build, clean, getApplicationCache, getBenchmark, getCompilerBenchmarks, getLogger, getOutput, getReport, getSwcCache, link, load, save, setApplicationCache, setLogger, setOutput, setPathResolver, setProgressMeter, setSupportedFileExtensions, setSwcCache, stoppublic BuilderApplication(File file) throws FileNotFoundException
FileNotFoundExceptionpublic BuilderApplication(File file, LibraryCache cache) throws FileNotFoundException
FileNotFoundExceptionpublic BuilderApplication(VirtualLocalFile file)
public BuilderApplication(VirtualLocalFile[] files)
public Configuration getDefaultConfiguration()
Builderflex-config.xml
file. You can override the default values by using methods of the Configuration interface.
This method returns the default compiler options in new Configuration objects.
getDefaultConfiguration in interface BuildergetDefaultConfiguration in class ApplicationConfiguration interface.Configurationpublic void setConfiguration(Configuration configuration)
BuildergetDefaultConfiguration() method to get a Configuration object.setConfiguration in interface BuildersetConfiguration in class Applicationconfiguration - An instance of an object that implements the Configuration interface.Configurationpublic Configuration getConfiguration()
BuildergetDefaultConfiguration() method,
this method returns null if the setConfiguration() method was not called.getConfiguration in interface BuildergetConfiguration in class ApplicationConfiguration interface.Configurationprotected int compile(boolean incremental)
ApplicationApplication object. This method does not link the Application.compile in class Applicationincremental - If true, build incrementally; if false, rebuild.Builder.OK if this method call resulted in compilation of some/all parts of the application;
Builder.LINK if this method call did not compile anything in the application but advise the caller to link again;
Builder.SKIP if this method call did not compile anything in the application;
Builder.FAIL if this method call encountered errors during compilation.Copyright © 2016 The Apache Software Foundation. All rights reserved.