public interface ITargetSettings
Modifier and Type | Method and Description |
---|---|
boolean |
areDefaultScriptLimitsSet()
Returns if the default script limits have been set.
|
boolean |
areVerboseStacktracesEnabled()
Returns true if the target is capable of verbose stack traces.
|
boolean |
getAllowSubclassOverrides() |
Collection<String> |
getASMetadataNames()
The names of ActionScript metadata that will be preserved in the target.
|
int |
getDefaultBackgroundColor()
Returns the default background color.
|
File |
getDefaultCSS()
Returns the location of the default CSS file.
|
int |
getDefaultFrameRate()
Returns the default frame rate.
|
int |
getDefaultHeight()
Returns the default height.
|
int |
getDefaultScriptRecursionLimit()
Returns the default script recursion limit.
|
int |
getDefaultScriptTimeLimit()
Returns the default script time limit.
|
List<String> |
getDefaultsCSSFiles() |
int |
getDefaultWidth()
Returns the default width.
|
Collection<File> |
getExternalLibraryPath()
Returns a collection of libraries whose classes are not be linked
into the target.
|
Collection<String> |
getExterns()
Returns a list of fully qualified class names that should not be linked
into the target.
|
String |
getFlexMinimumSupportedVersion()
Used when creating a library.
|
List<FrameInfo> |
getFrameLabels()
|
Collection<String> |
getIncludeClasses()
Returns a collection of fully-qualified class names that are included in
the target library.
|
Map<String,File> |
getIncludeFiles()
Returns a collection of files that are included in the target library.
|
Collection<File> |
getIncludeLibraries()
Returns a collection of libraries whose classes are linked
into the target.
|
Collection<String> |
getIncludeNamespaces()
Returns a collection of namespaces that are included in the target
library.
|
Collection<String> |
getIncludeResourceBundles()
Returns a collection of resource bundle names that are included
in the target library.
|
Collection<String> |
getIncludes()
Returns a list of fully qualified class names that should be linked
into the target regardless of whether they are required by the target or
not.
|
Collection<File> |
getIncludeSources()
Returns a collection of sources that are included in the target library.
|
Map<String,File> |
getIncludeStyleSheets()
Returns a map of style sheet names and files that are included
in the target library.
|
File |
getLinkReport()
Returns the file that specifies where the link report should be written.
|
boolean |
getMxmlChildrenAsData() |
String[] |
getMxmlImplicitImports()
Gets the implicit imports for MXML.
|
File |
getOutput()
Returns the file that specifies where the target should be created.
|
String |
getPreloaderClassName()
Returns the preloader class name
|
boolean |
getRemoveDeadCode() |
String |
getRootClassName()
Returns the root class name for the application SWF.
|
String |
getRootSourceFileName()
Returns the absolute file name of the source file that defines the root
class.
|
List<String> |
getRuntimeSharedLibraries()
A list of URLs pointing to RSLs to load.
|
List<RSLSettings> |
getRuntimeSharedLibraryPath()
A list of RSLs to load, complete with all the settings on how to load
the RSLs.
|
File |
getSizeReport()
Returns the file that specifies where the size report should be written.
|
String |
getSWFMetadata()
Get the Metadata text.
|
int |
getSWFVersion()
Return the SWF version
|
List<File> |
getThemes()
Returns a list of CSS and SWC files to apply as a theme.
|
boolean |
isAccessible()
Returns true if the target file is accessible.
|
boolean |
isDebugEnabled()
Returns true if the target file has debugging instructions
included.
|
boolean |
isIncludeLookupOnlyEnabled()
Returns true if only manifest entries with lookupOnly=true are included
in the SWC catalog, false otherwise.
|
boolean |
isLinkageExternal(String path)
Determine is a library has external linkage.
|
boolean |
isOptimized()
Returns true if the target should be optimized.
|
boolean |
isTelemetryEnabled()
Returns true if the target file has advanced telemetry
enabled.
|
boolean |
keepAllTypeSelectors()
Returns true if the compiler has disabled the pruning of unused type
selectors.
|
boolean |
removeUnusedRuntimeSharedLibraryPaths()
Returns true if RSLs that have no classes used by the application are
not loaded at runtime.
|
boolean |
useCompression()
Returns true if the target should be output using compression.
|
boolean |
useDirectBlit()
Returns whether the application SWF is flagged for direct blit use.
|
boolean |
useGPU()
Returns whether the application SWF is flagged for GPU use.
|
boolean |
useNetwork()
Returns whether the application SWF is flagged for access to network
resources.
|
boolean |
useResourceBundleMetadata()
Returns true if resource bundle metadata should be processed.
|
boolean |
verifyDigests()
Returns the default setting for all RSLs as to whether an RSL's digest
should be verified after the RSL is loaded.
|
boolean isAccessible()
boolean isDebugEnabled()
boolean isTelemetryEnabled()
boolean isOptimized()
boolean useCompression()
boolean areVerboseStacktracesEnabled()
Collection<String> getASMetadataNames()
File getDefaultCSS()
java.io.File
.List<String> getDefaultsCSSFiles()
defaults-css-files
configuration option.int getDefaultBackgroundColor()
int getDefaultFrameRate()
boolean areDefaultScriptLimitsSet()
int getDefaultScriptTimeLimit()
int getDefaultScriptRecursionLimit()
int getDefaultWidth()
int getDefaultHeight()
Collection<String> getExterns()
Collection<String> getIncludes()
List<FrameInfo> getFrameLabels()
List
of FrameInfo
objects that describe extra frames of
a SWF. Each frame label has a list of class names that will be linked
onto the frame.FrameInfo
objects in SWF order.String getSWFMetadata()
The Metadata tag is an optional tag to describe the SWF file to an external process. The tag embeds XML metadata in the SWF file so that, for example, a search engine can locate this tag, access a title for the SWF file, and display that title in search results.
int getSWFVersion()
String getPreloaderClassName()
String getRootSourceFileName()
ITarget
s using this ITargetSettings
do not
build SWFs ( they could build SWCs instead ), then this method will
return null.ITargetSettings
is not for building SWFs.String getRootClassName()
ITarget
s
using this ITargetSettings
do not build SWFs ( they could build
SWCs instead ), then this method will return null.ITargetSettings
is not for building SWFs.boolean keepAllTypeSelectors()
boolean useNetwork()
List<File> getThemes()
boolean removeUnusedRuntimeSharedLibraryPaths()
boolean verifyDigests()
verify-digests
option in the mxmlc compiler.RSLSettings
Collection<File> getExternalLibraryPath()
Collection<File> getIncludeLibraries()
List<String> getRuntimeSharedLibraries()
runtime-shared-libraries
option in the mxmlc compiler.
These RSLs are available to support legacy applications. For the latest
RSL support see getRuntimeSharedLibraryPath.List<RSLSettings> getRuntimeSharedLibraryPath()
runtime-shared-library-path
option in the mxmlc compiler.boolean useResourceBundleMetadata()
File getOutput()
File getLinkReport()
File getSizeReport()
Collection<String> getIncludeClasses()
Collection<File> getIncludeSources()
Map<String,File> getIncludeFiles()
Collection<String> getIncludeNamespaces()
Collection<String> getIncludeResourceBundles()
Map<String,File> getIncludeStyleSheets()
boolean isIncludeLookupOnlyEnabled()
boolean isLinkageExternal(String path)
path
- the absolute path of a library.boolean useDirectBlit()
boolean useGPU()
String getFlexMinimumSupportedVersion()
boolean getMxmlChildrenAsData()
boolean getAllowSubclassOverrides()
boolean getRemoveDeadCode()
String[] getMxmlImplicitImports()
Copyright © 2016 The Apache Software Foundation. All rights reserved.