|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.ibm.itim.apps.provisioning.ServiceTestResult
Holds the result of a service test. If the test failed, the root cause of the failure will be available.
| Field Summary | |
|---|---|
static int |
FAILURE
Constant indicating an unsuccessful test. |
static int |
SUCCESS
Constant indicating a successful test. |
| Constructor Summary | |
|---|---|
ServiceTestResult(int status)
Constructs with a test status. |
|
ServiceTestResult(java.lang.Throwable causeOfFailure)
Assumes the test was unsuccessful and constructs with just the cause of the failure. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCauseOfFailure()
Returns the cause of the test failure (if applicable). |
int |
getStatus()
Returns the status of the test. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int SUCCESS
public static final int FAILURE
| Constructor Detail |
public ServiceTestResult(int status)
status - Status of test. Values may be SUCCESS or FAILURE.public ServiceTestResult(java.lang.Throwable causeOfFailure)
causeOfFailure - Throwable object containing the cause of failure.| Method Detail |
public int getStatus()
public java.lang.Throwable getCauseOfFailure()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||