|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.ajde.core.AjCompiler
public class AjCompiler
The class to be used by tools to drive a build. An AjCompiler is created with a unique id (for example the absolute pathname of a project or .lst file) along with implementations of ICompilerConfiguration, IBuildProgressMonitor and IBuildMessageHandler. Tools then call build() or buildFresh() on this AjCompiler.
An AjCompiler is associated with one id, therefore a new one needs to be created for a new id (project, .lst file etc.). It is the responsibility of the tools to manage the lifecycle of the AjCompiler's.
| Constructor Summary | |
|---|---|
AjCompiler(java.lang.String compilerId,
ICompilerConfiguration compilerConfig,
IBuildProgressMonitor buildProgressMonitor,
IBuildMessageHandler buildMessageHandler)
Creates a new AjCompiler for the given id, ICompilerConfiguration, IBuildProgressMonitor and IBuildMessageHandler. |
|
| Method Summary | |
|---|---|
boolean |
addDependencies(java.io.File file,
java.lang.String[] typeNameDependencies)
|
void |
build()
Perform an incremental build if possible, otherwise it will default to a full build. |
void |
buildFresh()
Perform a full build. |
void |
clearLastState()
Clear the incremental state associated with this AjCompiler from the IncrementalStateManager. |
AjdeCoreBuildManager |
getBuildManager()
|
IBuildProgressMonitor |
getBuildProgressMonitor()
|
ICompilerConfiguration |
getCompilerConfiguration()
|
java.lang.Object |
getCustomMungerFactory()
|
java.lang.String |
getId()
|
IBuildMessageHandler |
getMessageHandler()
|
AsmManager |
getModel()
|
boolean |
isJava6Compatible()
|
void |
setCustomMungerFactory(java.lang.Object factory)
Set a CustomMungerFactory to the compiler's weaver The type of factory should be org.aspectj.weaver.CustomMungerFactory but due to dependency problem of project ajde.core, it is Object for now. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AjCompiler(java.lang.String compilerId,
ICompilerConfiguration compilerConfig,
IBuildProgressMonitor buildProgressMonitor,
IBuildMessageHandler buildMessageHandler)
compilerId - - Unique String used to identify this AjCompilercompilerConfig - - ICompilerConfiguration implementationbuildProgressMonitor - - IBuildProgressMonitor implementationbuildMessageHandler - - IBuildMessageHandler implementation| Method Detail |
|---|
public java.lang.String getId()
public ICompilerConfiguration getCompilerConfiguration()
public IBuildProgressMonitor getBuildProgressMonitor()
public IBuildMessageHandler getMessageHandler()
public void build()
public void buildFresh()
public void clearLastState()
public boolean addDependencies(java.io.File file,
java.lang.String[] typeNameDependencies)
public boolean isJava6Compatible()
public void setCustomMungerFactory(java.lang.Object factory)
factory - public java.lang.Object getCustomMungerFactory()
public AsmManager getModel()
public AjdeCoreBuildManager getBuildManager()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||