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 generatedCommandStream
for evaluating / replaying theCommand
s after the compile operation.Provides the list of errors recorded during the compilation.Provides the list of warnings recorded during the compilation.void
seal()
-
Constructor Details
-
CompilationResultImpl
-
-
Method Details
-
getCommandStream
Description copied from interface:CompilationResult
Provides access to the generatedCommandStream
for evaluating / replaying theCommand
s after the compile operation.- Specified by:
getCommandStream
in interfaceCompilationResult
- Returns:
- the command stream generated by the compiler
-
getWarnings
Description copied from interface:CompilationResult
Provides the list of warnings recorded during the compilation.- Specified by:
getWarnings
in interfaceCompilationResult
- Returns:
- the list of warnings; the list can be empty if no warnings have been emitted
-
getErrors
Description copied from interface:CompilationResult
Provides the list of errors recorded during the compilation.- Specified by:
getErrors
in interfaceCompilationResult
- Returns:
- the list of errors; the list can be empty if no errors have been encountered
-
seal
public void seal()
-