public class CompilerResult
extends java.lang.Object
Constructor and Description |
---|
CompilerResult(java.lang.String[] result,
java.lang.String error)
Construct the compiler result with the result and error of sending the
Modelica command to OMC.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getError()
Fetch the error resulted from sending the Modelica command to OMC.
|
java.lang.String |
getFirstResult()
Fetch the first result of the Modelica command to OMC.
|
static CompilerResult |
makeResult(java.lang.String[] result,
java.lang.String error)
Make CompilerResult with the result and error of sending the Modelica command
to OMC.
|
public CompilerResult(java.lang.String[] result, java.lang.String error)
result
- The result of sending the Modelica command to OMC.error
- The error resulted from sending the Modelica command to OMC.public java.lang.String getError()
public java.lang.String getFirstResult()
public static CompilerResult makeResult(java.lang.String[] result, java.lang.String error)
result
- The result of sending the Modelica command to OMC.error
- The error resulted from sending the Modelica command to OMC.