GenerationTask

public abstract class GenerationTask

A code generation task for Protobuf declarations.

The class operates on the provided set of Protobuf files and enhances their JavaScript counterparts by generating additional code.

Inheritors

Constructors

Link copied to clipboard
protected void GenerationTask(Directory generatedRoot)

Functions

Link copied to clipboard
protected FileSet filter(FileSet fileSet)
Filters out files that should not processed by the task.
Link copied to clipboard
protected Directory generatedRoot()
Obtains the root of the generated Protobuf sources.
Link copied to clipboard
protected abstract void generateFor(FileSet fileSet)
Generates code for the Protobuf files.
Link copied to clipboard
public final void performFor(FileSet fileSet)
Generates code for the specified file set.