public static class MainClassFinder.Result extends Object
MainClassFinder.find().| Modifier and Type | Class and Description |
|---|---|
static class |
MainClassFinder.Result.ErrorType
The type of error.
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getErrorCause()
Gets the cause of the error.
|
MainClassFinder.Result.ErrorType |
getErrorType()
Gets the type of error.
|
String |
getFoundMainClass()
Gets the found main class.
|
List<String> |
getFoundMainClasses()
Gets the found main classes.
|
boolean |
isSuccess()
Gets whether or not this result is a success.
|
public boolean isSuccess()
true if successful; false if notpublic String getFoundMainClass()
isSuccess is true.public MainClassFinder.Result.ErrorType getErrorType()
isSuccess is false.null if successfulpublic Throwable getErrorCause()
getErrorType() is MainClassFinder.Result.ErrorType.IO_EXCEPTION.null if not availableCopyright © 2018. All rights reserved.