IBuildOutput

public interface IBuildOutput<P extends IParseUnit, A extends IAnalyzeUnit, AU extends IAnalyzeUnitUpdate, T extends ITransformUnit<?>>

Output generated by a build.

Parameters:
  • <P> – Type of parse units
  • <A> – Type of analyze units.
  • <AU> – Type of analyze unit updates.
  • <T> – Type of transform units.

Methods

allMessages

Iterable<IMessage> allMessages()
Returns:All messages. Includes parse, analysis, transformation, and extra messages.

analysisResults

Iterable<A> analysisResults()
Returns:Analysis results for changed resources. Resources that could not be parsed are not analyzed.

analysisUpdates

Iterable<AU> analysisUpdates()
Returns:Analysis updates for affected resources.

changedResources

Iterable<FileObject> changedResources()
Returns:Resources that were added or changed prior to the build.

extraMessages

Iterable<IMessage> extraMessages()
Returns:Extra messages generated by exceptions.

includedResources

Set<FileName> includedResources()
Returns:Resources that were included into the build, but not used as source files. These files were parsed and analyzed, but not transformed.

parseResults

Iterable<P> parseResults()
Returns:Parse results for changed resources. If parsing fails exceptionally by a ParseException or IOException, there is no parse result for that resource.

removedResources

Set<FileName> removedResources()
Returns:Resources that were removed prior to the build.

state

BuildState state()
Returns:State produced by the build.

success

boolean success()
Returns:If the build was successful.

transformResults

Iterable<T> transformResults()
Returns:Transformation results for changed resources. Resources that could not be parsed or analyzed, or that do not require compilation, are not transformed.