public abstract class TargetSettingsProxy extends Object implements ITargetSettings
Modifier | Constructor and Description |
---|---|
protected |
TargetSettingsProxy(ITargetSettings baseTargetSettings) |
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.
|
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.
|
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 |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllowSubclassOverrides, getMxmlChildrenAsData, getMxmlImplicitImports, isTelemetryEnabled
protected TargetSettingsProxy(ITargetSettings baseTargetSettings)
public boolean isAccessible()
ITargetSettings
isAccessible
in interface ITargetSettings
public boolean isDebugEnabled()
ITargetSettings
isDebugEnabled
in interface ITargetSettings
public boolean isOptimized()
ITargetSettings
isOptimized
in interface ITargetSettings
public boolean useCompression()
ITargetSettings
useCompression
in interface ITargetSettings
public boolean areVerboseStacktracesEnabled()
ITargetSettings
areVerboseStacktracesEnabled
in interface ITargetSettings
public Collection<String> getASMetadataNames()
ITargetSettings
getASMetadataNames
in interface ITargetSettings
public File getDefaultCSS()
ITargetSettings
getDefaultCSS
in interface ITargetSettings
java.io.File
.public int getDefaultBackgroundColor()
ITargetSettings
getDefaultBackgroundColor
in interface ITargetSettings
public int getDefaultFrameRate()
ITargetSettings
getDefaultFrameRate
in interface ITargetSettings
public boolean areDefaultScriptLimitsSet()
ITargetSettings
areDefaultScriptLimitsSet
in interface ITargetSettings
public int getDefaultScriptTimeLimit()
ITargetSettings
getDefaultScriptTimeLimit
in interface ITargetSettings
public int getDefaultScriptRecursionLimit()
ITargetSettings
getDefaultScriptRecursionLimit
in interface ITargetSettings
public int getDefaultWidth()
ITargetSettings
getDefaultWidth
in interface ITargetSettings
public int getDefaultHeight()
ITargetSettings
getDefaultHeight
in interface ITargetSettings
public Collection<String> getExterns()
ITargetSettings
getExterns
in interface ITargetSettings
public Collection<String> getIncludes()
ITargetSettings
getIncludes
in interface ITargetSettings
public List<FrameInfo> getFrameLabels()
ITargetSettings
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.getFrameLabels
in interface ITargetSettings
FrameInfo
objects in SWF order.public String getSWFMetadata()
ITargetSettings
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.
getSWFMetadata
in interface ITargetSettings
public int getSWFVersion()
ITargetSettings
getSWFVersion
in interface ITargetSettings
public String getPreloaderClassName()
ITargetSettings
getPreloaderClassName
in interface ITargetSettings
public String getRootSourceFileName()
ITargetSettings
ITarget
s using this ITargetSettings
do not
build SWFs ( they could build SWCs instead ), then this method will
return null.getRootSourceFileName
in interface ITargetSettings
ITargetSettings
is not for building SWFs.public String getRootClassName()
ITargetSettings
ITarget
s
using this ITargetSettings
do not build SWFs ( they could build
SWCs instead ), then this method will return null.getRootClassName
in interface ITargetSettings
ITargetSettings
is not for building SWFs.public boolean keepAllTypeSelectors()
ITargetSettings
keepAllTypeSelectors
in interface ITargetSettings
public boolean useNetwork()
ITargetSettings
useNetwork
in interface ITargetSettings
public List<File> getThemes()
ITargetSettings
getThemes
in interface ITargetSettings
public boolean removeUnusedRuntimeSharedLibraryPaths()
ITargetSettings
removeUnusedRuntimeSharedLibraryPaths
in interface ITargetSettings
public boolean verifyDigests()
ITargetSettings
verify-digests
option in the mxmlc compiler.verifyDigests
in interface ITargetSettings
RSLSettings
public Collection<File> getExternalLibraryPath()
ITargetSettings
getExternalLibraryPath
in interface ITargetSettings
public Collection<File> getIncludeLibraries()
ITargetSettings
getIncludeLibraries
in interface ITargetSettings
public List<String> getRuntimeSharedLibraries()
ITargetSettings
runtime-shared-libraries
option in the mxmlc compiler.
These RSLs are available to support legacy applications. For the latest
RSL support see getRuntimeSharedLibraryPath.getRuntimeSharedLibraries
in interface ITargetSettings
public List<RSLSettings> getRuntimeSharedLibraryPath()
ITargetSettings
runtime-shared-library-path
option in the mxmlc compiler.getRuntimeSharedLibraryPath
in interface ITargetSettings
public boolean useResourceBundleMetadata()
ITargetSettings
useResourceBundleMetadata
in interface ITargetSettings
public File getOutput()
ITargetSettings
getOutput
in interface ITargetSettings
public Collection<String> getIncludeClasses()
ITargetSettings
getIncludeClasses
in interface ITargetSettings
public Collection<File> getIncludeSources()
ITargetSettings
getIncludeSources
in interface ITargetSettings
public Map<String,File> getIncludeFiles()
ITargetSettings
getIncludeFiles
in interface ITargetSettings
public Collection<String> getIncludeNamespaces()
ITargetSettings
getIncludeNamespaces
in interface ITargetSettings
public Collection<String> getIncludeResourceBundles()
ITargetSettings
getIncludeResourceBundles
in interface ITargetSettings
public Map<String,File> getIncludeStyleSheets()
ITargetSettings
getIncludeStyleSheets
in interface ITargetSettings
public boolean isIncludeLookupOnlyEnabled()
ITargetSettings
isIncludeLookupOnlyEnabled
in interface ITargetSettings
public boolean isLinkageExternal(String path)
ITargetSettings
isLinkageExternal
in interface ITargetSettings
path
- the absolute path of a library.public boolean useDirectBlit()
ITargetSettings
useDirectBlit
in interface ITargetSettings
public boolean useGPU()
ITargetSettings
useGPU
in interface ITargetSettings
public List<String> getDefaultsCSSFiles()
getDefaultsCSSFiles
in interface ITargetSettings
defaults-css-files
configuration option.public File getLinkReport()
ITargetSettings
getLinkReport
in interface ITargetSettings
public File getSizeReport()
ITargetSettings
getSizeReport
in interface ITargetSettings
public String getFlexMinimumSupportedVersion()
ITargetSettings
getFlexMinimumSupportedVersion
in interface ITargetSettings
public boolean getRemoveDeadCode()
getRemoveDeadCode
in interface ITargetSettings
Copyright © 2016 The Apache Software Foundation. All rights reserved.