Package com.karuslabs.elementary
Class Results
java.lang.Object
com.karuslabs.elementary.Results
The results of a compilation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<Diagnostic<? extends JavaFileObject>>The diagnostic messages.final List<Diagnostic<? extends JavaFileObject>>The errors.final List<JavaFileObject>The generated source files.final List<Diagnostic<? extends JavaFileObject>>The notes.final List<JavaFileObject>The source files which were compiled.final booleanWhether compilation was successful.final List<Diagnostic<? extends JavaFileObject>>The warnings. -
Constructor Summary
ConstructorsConstructorDescriptionResults(List<JavaFileObject> sources, List<JavaFileObject> generated, Diagnostics diagnostics, boolean success) Creates aResultswith the given arguments. -
Method Summary
-
Field Details
-
sources
The source files which were compiled. -
generated
The generated source files. -
diagnostics
The diagnostic messages. -
errors
The errors. -
warnings
The warnings. -
notes
The notes. -
success
public final boolean successWhether compilation was successful.
-
-
Constructor Details
-
Results
public Results(List<JavaFileObject> sources, List<JavaFileObject> generated, Diagnostics diagnostics, boolean success) Creates aResultswith the given arguments.- Parameters:
sources- the sources which were compiledgenerated- the generated sourcesdiagnostics- the diagnostic messagessuccess- whether compilation was successful
-
-
Method Details
-
find
Returns aFinderfor thisResults.- Returns:
- a
Finder
-