
public class Compiler extends Object
| Constructor and Description |
|---|
Compiler(CompilerOptions compilerOptions) |
Compiler(CompilerOptions compilerOptions,
MinimalRebuildCache minimalRebuildCache) |
| Modifier and Type | Method and Description |
|---|---|
static UnitCache |
getOrCreateUnitCache(TreeLogger logger,
CompilerOptions options)
Locates the unit cache dir relative to the war dir and returns a UnitCache instance.
|
static void |
main(String[] args) |
boolean |
run(TreeLogger logger) |
boolean |
run(TreeLogger logger,
ModuleDef... modules) |
public Compiler(CompilerOptions compilerOptions)
public Compiler(CompilerOptions compilerOptions, MinimalRebuildCache minimalRebuildCache)
public static UnitCache getOrCreateUnitCache(TreeLogger logger, CompilerOptions options)
public static void main(String[] args)
public boolean run(TreeLogger logger) throws UnableToCompleteException
UnableToCompleteExceptionpublic boolean run(TreeLogger logger, ModuleDef... modules) throws UnableToCompleteException
UnableToCompleteExceptionCopyright © 2018. All rights reserved.