@ProviderType public interface CompilationResult
Modifier and Type | Method and Description |
---|---|
boolean |
didCompile()
Was a compilation required or were all classes recent?
|
java.util.List<CompilerMessage> |
getErrors()
Return a list of error messages that occured during
compilation.
|
java.util.List<CompilerMessage> |
getWarnings()
Return a list of warnings that occured during
compilation.
|
java.lang.Class<?> |
loadCompiledClass(java.lang.String className)
Try to load the compiled class.
|
java.util.List<CompilerMessage> getErrors()
null
is returned.null
.java.util.List<CompilerMessage> getWarnings()
null
is returned.null
.boolean didCompile()
true
if classes were compiled.java.lang.Class<?> loadCompiledClass(java.lang.String className) throws java.lang.ClassNotFoundException
className
- The class name of the compiled class.java.lang.ClassNotFoundException
- If the class could not be found
or compilation failed.Copyright © 2010 - 2020 Adobe. All Rights Reserved