@Deprecated public interface GeneratingCompiler extends Compiler, ValidityStateFactory, IntermediateOutputCompiler
Modifier and Type | Interface and Description |
---|---|
static interface |
GeneratingCompiler.GenerationItem
Deprecated.
Represents a single item generated by the compiler.
|
Modifier and Type | Method and Description |
---|---|
GeneratingCompiler.GenerationItem[] |
generate(CompileContext context,
GeneratingCompiler.GenerationItem[] items,
VirtualFile outputRootDirectory)
Deprecated.
Invokes the generation process.
|
GeneratingCompiler.GenerationItem[] |
getGenerationItems(CompileContext context)
Deprecated.
Returns the list of all the files this compiler can generate.
|
createValidityState
getDescription, validateConfiguration
GeneratingCompiler.GenerationItem[] getGenerationItems(CompileContext context)
context
- the current compile context.GeneratingCompiler.GenerationItem[] generate(CompileContext context, GeneratingCompiler.GenerationItem[] items, VirtualFile outputRootDirectory)
context
- the current compile context.items
- what items to generate.outputRootDirectory
- the root directory under which the items are generated (the paths
in GeneratingCompiler.GenerationItem.getPath()
are relative to that directory).
All files generated by the compiler must be placed in that directory or
its subdirectories, otherwise they will not be compiled properly on
subsequent build steps.