|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OperationStatus
Base interface for all OperationStatus objects.
Field Summary | |
---|---|
static int |
STATUS_CODE_FAILURE
Status code indicating failure of the operation. |
static String |
STATUS_CODE_KEY
Key used to look up the status code (if any) from the Map. |
static int |
STATUS_CODE_SUCCESS
Status code indicating success of the operation. |
static int |
STATUS_CODE_WARNING
Status code indicating success, with warning. |
static String |
THROWABLE_KEY
Key used to look up the Throwable (if any) from the Map. |
Fields inherited from interface com.sun.appserv.management.base.MapCapable |
---|
MAP_CAPABLE_CLASS_NAME_KEY |
Method Summary | |
---|---|
int |
getStatusCode()
If there is no explicit status code, an operation is considered successful if nothing was thrown. |
Throwable |
getThrowable()
If a Throwable was thrown, this implies some degree of failure from partial to total. |
Methods inherited from interface com.sun.appserv.management.base.MapCapable |
---|
asMap, getMapClassName |
Field Detail |
---|
static final String THROWABLE_KEY
static final String STATUS_CODE_KEY
getStatusCode()
.
static final int STATUS_CODE_SUCCESS
static final int STATUS_CODE_FAILURE
static final int STATUS_CODE_WARNING
Method Detail |
---|
int getStatusCode()
Legal status codes include:
Throwable getThrowable()
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.