public class SWCTarget extends Target implements ISWCTarget
Target.BuiltCompilationUnitSet, Target.DirectDependencies, Target.RootedCompilationUnitsITarget.TargetTypeprogressMonitor, 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, waitForCompilationUnitToFinishclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetASMetadataNames, getIncludesCompilationUnits, getTargetReport, getTargetSettingspublic SWCTarget(FlexProject project, ITargetSettings targetSettings, ITargetProgressMonitor progressMonitor)
public ISWC build(Collection<ICompilerProblem> problems)
ISWCTargetbuild in interface ISWCTargetproblems - compilation problems outputpublic ISWFTarget getLibrarySWFTarget() throws InterruptedException
ISWCTargetISWFTarget used by this target
to build the library.swf in the SWC.getLibrarySWFTarget in interface ISWCTargetISWFTarget used by this target
to build the library.swf in the SWCInterruptedExceptionpublic ITarget.TargetType getTargetType()
ITargetgetTargetType in interface ITargetpublic boolean addToZipOutputStream(ZipOutputStream output, Collection<ICompilerProblem> problemCollection)
ISWCTargetaddToZipOutputStream in interface ISWCTargetoutput - ZipOutputStream to which entries are added for the SWC
data.problemCollection - Collection to which any ICompilerProblems are
added.protected Target.RootedCompilationUnits computeRootedCompilationUnits() throws InterruptedException
TargetcomputeRootedCompilationUnits in class TargetICompilationUnit's.InterruptedExceptionpublic Target.RootedCompilationUnits getRootedCompilationUnits() throws InterruptedException
getRootedCompilationUnits in class TargetInterruptedExceptionprotected ITargetReport computeTargetReport() throws InterruptedException
computeTargetReport in class TargetInterruptedExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.