public class BuilderLibrary extends Library
Constructor and Description |
---|
BuilderLibrary() |
Modifier and Type | Method and Description |
---|---|
protected int |
compile(boolean incremental)
Compiles the
Library . |
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.
|
addArchiveFile, addArchiveFile, addComponent, addComponent, addComponent, addComponent, addResourceBundle, addStyleSheet, addStyleSheet, build, build, clean, clone, convertMessages, getApplicationCache, getBenchmark, getCompilerBenchmarks, getDirectory, getLogger, getOutput, getReport, getSwcCache, link, load, refreshLastModified, removeAllArchiveFiles, removeAllComponents, removeAllResourceBundles, removeAllStyleSheets, removeArchiveFile, removeComponent, removeComponent, removeComponent, removeComponent, removeResourceBundle, removeStyleSheet, save, setApplicationCache, setDirectory, setLogger, setOutput, setPathResolver, setProgressMeter, setSupportedFileExtensions, setSwcCache, stop
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 Library
Configuration
interface.Configuration
public void setConfiguration(Configuration configuration)
Builder
getDefaultConfiguration()
method to get a Configuration
object.setConfiguration
in interface Builder
setConfiguration
in class Library
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 Library
Configuration
interface.Configuration
protected int compile(boolean incremental)
Library
Library
. This method does not link the Library
.compile
in class Library
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.