ICompilationContext
public class CompilationContextImpl extends java.lang.Object implements ICompilationContext
ICompilationContext
.Constructor | Description |
---|---|
CompilationContextImpl(java.lang.String componentName,
java.io.File[] sourceFolders,
java.io.File outputFolder,
java.lang.ClassLoader classPath,
IJavaComponent.Part part) |
Instantiates a new compilation context impl.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.ClassLoader |
getClassPath() |
Gets a class loader as class path abstraction for this compilation
|
java.lang.String |
getComponentName() |
Gets the name of the component to be compiled
|
java.io.File |
getOutputFolder() |
Gets the folder to put compile results and that may already contain compilation results from other compilers
|
IJavaComponent.Part |
getPart() |
IJavaComponent.Part of the component to compile |
java.io.File[] |
getSourceFolders() |
Gets the folder containing the source files
|
public CompilationContextImpl(java.lang.String componentName, java.io.File[] sourceFolders, java.io.File outputFolder, java.lang.ClassLoader classPath, IJavaComponent.Part part)
componentName
- the component namesourceFolders
- the source foldersoutputFolder
- the output folderclassPath
- the class pathpart
- the partpublic java.lang.String getComponentName()
com.zfabrik.components.java.build.ICompilationContext
getComponentName
in interface ICompilationContext
ICompilationContext.getComponentName()
public java.io.File[] getSourceFolders()
com.zfabrik.components.java.build.ICompilationContext
getSourceFolders
in interface ICompilationContext
ICompilationContext.getSourceFolders()
public java.io.File getOutputFolder()
com.zfabrik.components.java.build.ICompilationContext
getOutputFolder
in interface ICompilationContext
ICompilationContext.getOutputFolder()
public java.lang.ClassLoader getClassPath()
com.zfabrik.components.java.build.ICompilationContext
getClassPath
in interface ICompilationContext
ICompilationContext.getClassPath()
public IJavaComponent.Part getPart()
com.zfabrik.components.java.build.ICompilationContext
IJavaComponent.Part
of the component to compilegetPart
in interface ICompilationContext
ICompilationContext.getPart()