|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides ability for an object to be compiled. A method is provided for testing what recursive depth (into subfolders) of compilation is supported, and then a set of inner classes for variant compilation tasks such as compile, build, and clean tasks. Also permits adding of the compiler to a compiler job.
Inner Class Summary | |
static interface |
CompilerCookie.Build
A cookie for unconditional compilation. |
static interface |
CompilerCookie.Clean
A cookie for cleaning before compilation. |
static interface |
CompilerCookie.Compile
A cookie for conditional compilation. |
Method Summary | |
void |
addToJob(CompilerJob job,
Compiler.Depth depth)
Allows the cookie to add its compiler(s) into a compiler job. |
boolean |
isDepthSupported(Compiler.Depth depth)
Tests whether a specified depth is supported. |
Method Detail |
public boolean isDepthSupported(Compiler.Depth depth)
depth
- the depth to testtrue
if this cookie supports such depthpublic void addToJob(CompilerJob job, Compiler.Depth depth)
depth
parameter specifies whether or not
the cookie should continue with its children.
If the Compiler.Depth#isLastDepth
is true then no children
should be processed. Otherwise process the children with
a new depth obtained by calling Compiler.Depth#nextDepth
.job
- the compiler job to add the compiler for this cookie todepth
- the depth to use for compilation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |