public class SWCTarget extends Target implements ISWCTarget
Target.BuiltCompilationUnitSet, Target.DirectDependencies, Target.RootedCompilationUnits
ITarget.TargetType
progressMonitor, project, targetSettings
Constructor and Description |
---|
SWCTarget(FlexProject project,
ITargetSettings targetSettings,
ITargetProgressMonitor progressMonitor) |
Modifier and Type | Method and Description |
---|---|
boolean |
addToZipOutputStream(ZipOutputStream output,
Collection<ICompilerProblem> problemCollection)
Builds this target and writes the resulting SWC data to the specified
ZipOutputStream.
|
ISWC |
build(Collection<ICompilerProblem> problems)
Build the target SWC and collect problems.
|
protected Target.RootedCompilationUnits |
computeRootedCompilationUnits()
Computes the set of compilation units that root the dependency walk.
|
protected ITargetReport |
computeTargetReport() |
ISWFTarget |
getLibrarySWFTarget()
Get's the
ISWFTarget used by this target
to build the library.swf in the SWC. |
Target.RootedCompilationUnits |
getRootedCompilationUnits() |
ITarget.TargetType |
getTargetType()
Returns the type of this target.
|
addASMetadataNames, buildAllCompilationUnits, buildFinished, buildStarted, computeFatalProblems, createLinkReport, findAllCompilationUnitsToLink, getAllExternallyVisibleDefinitions, getASMetadataNames, getBuiltCompilationUnitSet, getDependentCompilationUnits, getDirectDependencies, getFatalProblems, getIncludedResourceBundlesCompilationUnits, getIncludeLibrariesCompilationUnits, getIncludesCompilationUnits, getLinkageChecker, getReachableCompilationUnits, getTargetReport, getTargetSettings, isCanceled, isLinkageExternal, setLinkageChecker, updateProgress, updateProgress, waitForCompilationUnitToFinish
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getASMetadataNames, getIncludesCompilationUnits, getTargetReport, getTargetSettings
public SWCTarget(FlexProject project, ITargetSettings targetSettings, ITargetProgressMonitor progressMonitor)
public ISWC build(Collection<ICompilerProblem> problems)
ISWCTarget
build
in interface ISWCTarget
problems
- compilation problems outputpublic ISWFTarget getLibrarySWFTarget() throws InterruptedException
ISWCTarget
ISWFTarget
used by this target
to build the library.swf in the SWC.getLibrarySWFTarget
in interface ISWCTarget
ISWFTarget
used by this target
to build the library.swf in the SWCInterruptedException
public ITarget.TargetType getTargetType()
ITarget
getTargetType
in interface ITarget
public boolean addToZipOutputStream(ZipOutputStream output, Collection<ICompilerProblem> problemCollection)
ISWCTarget
addToZipOutputStream
in interface ISWCTarget
output
- ZipOutputStream to which entries are added for the SWC
data.problemCollection
- Collection to which any ICompilerProblems are
added.protected Target.RootedCompilationUnits computeRootedCompilationUnits() throws InterruptedException
Target
computeRootedCompilationUnits
in class Target
ICompilationUnit
's.InterruptedException
public Target.RootedCompilationUnits getRootedCompilationUnits() throws InterruptedException
getRootedCompilationUnits
in class Target
InterruptedException
protected ITargetReport computeTargetReport() throws InterruptedException
computeTargetReport
in class Target
InterruptedException
Copyright © 2016 The Apache Software Foundation. All rights reserved.