Package org.codehaus.plexus.compiler
Class CompilerResult
java.lang.Object
org.codehaus.plexus.compiler.CompilerResult
The result returned from a compiling language processor (aka compiler), possibly including
some messages.
- Since:
- 2.0
- Author:
- Olivier Lamy
-
Constructor Summary
ConstructorDescriptionConstructs a successful compiler result with no messages.CompilerResult
(boolean success, List<CompilerMessage> compilerMessages) Constructs a compiler result. -
Method Summary
Modifier and TypeMethodDescriptioncompilerMessages
(List<CompilerMessage> compilerMessages) boolean
void
setCompilerMessages
(List<CompilerMessage> compilerMessages) void
setSuccess
(boolean success) success
(boolean success)
-
Constructor Details
-
CompilerResult
public CompilerResult()Constructs a successful compiler result with no messages. -
CompilerResult
Constructs a compiler result.- Parameters:
success
- if the compiler process was successful or notcompilerMessages
- a list of messages from the compiler process
-
-
Method Details
-
isSuccess
public boolean isSuccess() -
setSuccess
public void setSuccess(boolean success) -
success
-
getCompilerMessages
-
setCompilerMessages
-
compilerMessages
-