-
- All Implemented Interfaces:
public final class ResultWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumResultWrapper.Status
-
Field Summary
Fields Modifier and Type Field Description private final ResultWithDiagnostics<?>resultprivate final BooleanisCompiled
-
Constructor Summary
Constructors Constructor Description ResultWrapper(ResultWithDiagnostics<?> result, Boolean isCompiled)
-
Method Summary
Modifier and Type Method Description final ResultWithDiagnostics<?>getResult()final BooleanisCompiled()final ResultWrapper.StatusgetStatus()final StringgetMessage()final StringgetMessageOrEmpty()final ThrowablegetErrorCause()-
-
Constructor Detail
-
ResultWrapper
ResultWrapper(ResultWithDiagnostics<?> result, Boolean isCompiled)
-
-
Method Detail
-
getResult
final ResultWithDiagnostics<?> getResult()
-
isCompiled
final Boolean isCompiled()
-
getStatus
final ResultWrapper.Status getStatus()
-
getMessage
final String getMessage()
-
getMessageOrEmpty
final String getMessageOrEmpty()
-
getErrorCause
final Throwable getErrorCause()
-
-
-
-