public class ArtifactCompiler extends java.lang.Object implements ArtifactMaker
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Iterable<java.lang.String> |
compilerOptions |
protected javax.tools.StandardJavaFileManager |
fileManager |
protected javax.annotation.processing.Filer |
filer |
protected javax.tools.JavaCompiler |
javaCompiler |
protected java.util.Set<java.lang.String> |
uncompiledArtifacts |
| Constructor and Description |
|---|
ArtifactCompiler(javax.annotation.processing.Filer filer,
java.util.List<java.io.File> classPath,
java.util.List<java.io.File> sourcePath,
java.io.File classOutput,
java.io.File sourceOutput,
java.lang.Iterable<java.lang.String> compilerOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Artifact artifact) |
void |
close() |
void |
makeAll() |
protected final javax.annotation.processing.Filer filer
protected final javax.tools.JavaCompiler javaCompiler
protected final javax.tools.StandardJavaFileManager fileManager
protected final java.lang.Iterable<java.lang.String> compilerOptions
protected final java.util.Set<java.lang.String> uncompiledArtifacts
public ArtifactCompiler(javax.annotation.processing.Filer filer,
java.util.List<java.io.File> classPath,
java.util.List<java.io.File> sourcePath,
java.io.File classOutput,
java.io.File sourceOutput,
java.lang.Iterable<java.lang.String> compilerOptions)
throws java.io.IOException
java.io.IOExceptionpublic void add(Artifact artifact)
add in interface ArtifactMakerpublic void makeAll()
makeAll in interface ArtifactMakerpublic void close()
close in interface ArtifactMaker