|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.globus.cog.abstraction.impl.common.StatusImpl
| Field Summary |
| Fields inherited from interface org.globus.cog.abstraction.interfaces.Status |
ACTIVE, CANCELED, COMPLETED, FAILED, RESUMED, SUBMITTED, SUSPENDED, UNKNOWN, UNSUBMITTED |
| Constructor Summary | |
StatusImpl()
|
|
StatusImpl(int curStatus)
|
|
| Method Summary | |
Exception |
getException()
Returns the exception associated with a failed Status |
String |
getMessage()
Returns the message associated with a failed Status |
int |
getPrevStatusCode()
|
String |
getPrevStatusString()
|
int |
getStatusCode()
Returns the code of this Status |
String |
getStatusString()
Returns the value of this Status as a String-based
description |
Calendar |
getTime()
Returns the time when the current status changed. |
void |
setException(Exception exception)
Sets the exception associated with the failure of the ExecutableObject. |
void |
setMessage(String message)
Sets the message associated with the failure of the ExecutableObject. |
void |
setPrevStatusCode(int status)
|
void |
setStatusCode(int status)
Sets the code of this Status. |
void |
setTime(Calendar time)
Sets the time when the current status changed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StatusImpl()
public StatusImpl(int curStatus)
| Method Detail |
public void setStatusCode(int status)
StatusStatus.
setStatusCode in interface Statusstatus - an integer representing the code of this Statuspublic int getStatusCode()
StatusStatus
getStatusCode in interface Statuspublic void setPrevStatusCode(int status)
setPrevStatusCode in interface Statuspublic int getPrevStatusCode()
getPrevStatusCode in interface Statuspublic void setException(Exception exception)
StatusExecutableObject. Valid only if the
ExecutableObject has failed.
setException in interface Statuspublic Exception getException()
StatusStatus
getException in interface Statuspublic void setMessage(String message)
StatusExecutableObject. Valid only if the
ExecutableObject has failed.
setMessage in interface Statuspublic String getMessage()
StatusStatus
getMessage in interface Statuspublic void setTime(Calendar time)
Status
setTime in interface Statuspublic Calendar getTime()
Status
getTime in interface Statuspublic String getStatusString()
StatusStatus as a String-based
description
getStatusString in interface Statuspublic String getPrevStatusString()
getPrevStatusString in interface Status
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||