Class AjBuildManager
java.lang.Object
org.aspectj.ajdt.internal.core.builder.AjBuildManager
- All Implemented Interfaces:
IBinarySourceProvider,ICompilerAdapterFactory,IOutputClassFileNameProvider
public class AjBuildManager
extends Object
implements IOutputClassFileNameProvider, IBinarySourceProvider, ICompilerAdapterFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic AsmHierarchyBuilderThis builder is static so that it can be subclassed and reset.static boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbatchBuild(AjBuildConfig buildConfig, IMessageHandler baseHandler) voidbooleanstatic voidenableRuntimeVersionCheck(Main caller) Enable check for runtime version, used only by Ant/command-line Main.voidenvironmentSupportsIncrementalCompilation(boolean itDoes) getAdapter(Compiler forCompiler) static AsmHierarchyBuildergetCompilationUnits(String[] filenames) getLibraryAccess(String[] classpaths, String[] filenames) getOutputClassFileName(char[] eclipseClassFileName, CompilationResult result) getState()Returns null if there is no structure modelgetWorld()booleanincrementalBuild(AjBuildConfig buildConfig, IMessageHandler baseHandler) voidperformCompilation(Collection<File> files) protected booleanstatic voidsetAsmHierarchyBuilder(AsmHierarchyBuilder newBuilder) Override the the default hierarchy builder.voidvoidsetProgressListener(IProgressListener progressListener) voidtoString()boolean
-
Field Details
-
COPY_INPATH_DIR_RESOURCES
public static boolean COPY_INPATH_DIR_RESOURCES -
asmHierarchyBuilder
This builder is static so that it can be subclassed and reset. However, note that there is only one builder present, so if two extendsion reset it, only the latter will get used. -
buildConfig
-
handler
-
-
Constructor Details
-
AjBuildManager
-
-
Method Details
-
enableRuntimeVersionCheck
Enable check for runtime version, used only by Ant/command-line Main.- Parameters:
caller- Main unused except to limit to non-null clients.
-
getWeaver
-
getBcelWorld
-
environmentSupportsIncrementalCompilation
public void environmentSupportsIncrementalCompilation(boolean itDoes) -
doGenerateModel
public boolean doGenerateModel()- Returns:
- true if we should generate a model as a side-effect
-
batchBuild
public boolean batchBuild(AjBuildConfig buildConfig, IMessageHandler baseHandler) throws IOException, AbortException - Throws:
IOExceptionAbortException
-
incrementalBuild
public boolean incrementalBuild(AjBuildConfig buildConfig, IMessageHandler baseHandler) throws IOException, AbortException - Throws:
IOExceptionAbortException
-
setCustomMungerFactory
-
getCustomMungerFactory
-
getWorld
-
getLibraryAccess
-
getProblemFactory
-
getCompilationUnits
-
extractDestinationPathFromSourceFile
-
performCompilation
-
cleanupEnvironment
public void cleanupEnvironment() -
getInterimResultRequestor
-
getBatchRequestor
-
proceedOnError
protected boolean proceedOnError() -
toString
-
getStructureModel
Returns null if there is no structure model -
getProgressListener
-
setProgressListener
-
getOutputClassFileName
- Specified by:
getOutputClassFileNamein interfaceIOutputClassFileNameProvider
-
getAdapter
- Specified by:
getAdapterin interfaceICompilerAdapterFactory
-
getBinarySourcesForThisWeave
- Specified by:
getBinarySourcesForThisWeavein interfaceIBinarySourceProvider
-
getAsmHierarchyBuilder
-
setAsmHierarchyBuilder
Override the the default hierarchy builder. -
getState
-
setState
-
wasFullBuild
public boolean wasFullBuild()
-