|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.itim.apps.provisioning.ServiceRestartResult
public class ServiceRestartResult
Result of the service restart operation, which is a two step process. First, the service is tested to verify that communication to the adapter is successful. If it is, then any blocked requests are restarted.
| Nested Class Summary | |
|---|---|
static class |
ServiceRestartResult.ServiceRestartRetryResult
Enumeration with values representing the result of the blocked request restart. |
static class |
ServiceRestartResult.ServiceRestartTestResult
Enumeration with values representing the result of the service test operation. |
| Constructor Summary | |
|---|---|
ServiceRestartResult(ServiceRestartResult.ServiceRestartRetryResult retryStatus)
Constructs a service retry result with the outcome of the blocked request retry operation. |
|
ServiceRestartResult(ServiceRestartResult.ServiceRestartTestResult testStatus)
Constructs a service restart result with the outcome of the service test operation. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCauseOfFailure()
Returns the cause of the failure, in either step of the restart process. |
ServiceRestartResult.ServiceRestartRetryResult |
getRetryStatus()
Returns the blocked request retry status. |
ServiceRestartResult.ServiceRestartTestResult |
getTestStatus()
Returns the service test status. |
boolean |
isRetrySuccess()
Returns whether the blocked request retry was successful or not required because there were not request to retry. |
boolean |
isTestSuccess()
Returns whether the test was successful. |
void |
setCauseOfFailure(java.lang.Throwable t)
Updates the cause of failure. |
void |
setRetryStatus(ServiceRestartResult.ServiceRestartRetryResult status)
Updates the blocked request retry status. |
void |
setTestStatus(ServiceRestartResult.ServiceRestartTestResult status)
Updates the service test status. |
java.lang.String |
toString()
Returns a string representation of the status. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceRestartResult(ServiceRestartResult.ServiceRestartTestResult testStatus)
testStatus - test resultpublic ServiceRestartResult(ServiceRestartResult.ServiceRestartRetryResult retryStatus)
retryStatus - retry status| Method Detail |
|---|
public void setTestStatus(ServiceRestartResult.ServiceRestartTestResult status)
status - service test statuspublic ServiceRestartResult.ServiceRestartTestResult getTestStatus()
public void setRetryStatus(ServiceRestartResult.ServiceRestartRetryResult status)
status - retry statuspublic ServiceRestartResult.ServiceRestartRetryResult getRetryStatus()
public void setCauseOfFailure(java.lang.Throwable t)
t - Throwable that caused the failure.public java.lang.Throwable getCauseOfFailure()
public boolean isTestSuccess()
public boolean isRetrySuccess()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||