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, stop
public BuilderApplication(File file) throws FileNotFoundException
FileNotFoundException
public BuilderApplication(File file, LibraryCache cache) throws FileNotFoundException
FileNotFoundException
public BuilderApplication(VirtualLocalFile file)
public BuilderApplication(VirtualLocalFile[] files)
public Configuration getDefaultConfiguration()
Builder
flex-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 Builder
getDefaultConfiguration
in class Application
Configuration
interface.Configuration
public void setConfiguration(Configuration configuration)
Builder
getDefaultConfiguration()
method to get a Configuration
object.setConfiguration
in interface Builder
setConfiguration
in class Application
configuration
- An instance of an object that implements the Configuration
interface.Configuration
public Configuration getConfiguration()
Builder
getDefaultConfiguration()
method,
this method returns null
if the setConfiguration()
method was not called.getConfiguration
in interface Builder
getConfiguration
in class Application
Configuration
interface.Configuration
protected int compile(boolean incremental)
Application
Application
object. This method does not link the Application
.compile
in class Application
incremental
- 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.