Class CompilationResultImpl
java.lang.Object
org.apache.sling.scripting.sightly.impl.compiler.CompilationResultImpl
- All Implemented Interfaces:
CompilationResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides access to the generatedCommandStreamfor evaluating / replaying theCommands after the compile operation.Provides the list of errors recorded during the compilation.Provides the list of warnings recorded during the compilation.voidseal()
-
Constructor Details
-
CompilationResultImpl
-
-
Method Details
-
getCommandStream
Description copied from interface:CompilationResultProvides access to the generatedCommandStreamfor evaluating / replaying theCommands after the compile operation.- Specified by:
getCommandStreamin interfaceCompilationResult- Returns:
- the command stream generated by the compiler
-
getWarnings
Description copied from interface:CompilationResultProvides the list of warnings recorded during the compilation.- Specified by:
getWarningsin interfaceCompilationResult- Returns:
- the list of warnings; the list can be empty if no warnings have been emitted
-
getErrors
Description copied from interface:CompilationResultProvides the list of errors recorded during the compilation.- Specified by:
getErrorsin interfaceCompilationResult- Returns:
- the list of errors; the list can be empty if no errors have been encountered
-
seal
public void seal()
-