Context
A Context holds the information necessary for a SchemaHandler to do its job. It contains both helping objects such as logger, and constraining objects such as emittingRules.
Constructors
Properties
If set, the SchemaHandler is to handle only types which are not claimed yet, and claim itself types it has handled. If null, the SchemaHandler is to handle all types.
If the SchemaHandler writes files, it is to claim Paths of files it created.
Set of rules letting the SchemaHandler know what ProtoType to include or exclude in its logic. This object represents the includes and excludes values which were associated with its Target.
Object to be used by the SchemaHandler to store errors. After all SchemaHandlers are finished, Wire will throw an exception if any error are present inside the collector.
To be used by the SchemaHandler for reading/writing operations on disk.
Event-listener like logger with which SchemaHandler can notify handled artifacts.
A Module dictates how the loaded types are partitioned and how they are to be handled. If null, there are no partition and all types are to be handled.
Location on fileSystem where the SchemaHandler is to write files, if it needs to.
To be used by the SchemaHandler if it supports Profile files. Please note that this API is unstable and can change at anytime.
Contains Location.path values of all sourcePath roots. The SchemaHandler is to ignore ProtoFiles not part of this set; this verification can be executed via the inSourcePath method.