public class ExecutionResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL |
static int |
FAILURE |
static int |
SUCCESS |
static int |
WARNING |
Constructor and Description |
---|
ExecutionResult(int result,
java.lang.String message)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Any message in the form of a string.
|
int |
getResult()
The result of the execution.
|
public static final int ALL
public static final int FAILURE
public static final int SUCCESS
public static final int WARNING
public ExecutionResult(int result, java.lang.String message)
result
- The result of the execution. Valid values are SUCCESS,
FAILURE and WARNING.message
- Any message in the form of a string. This may contain detailed execution
procedure, results and/or errors.public java.lang.String getMessage()
public int getResult()