com.metamatrix.admin.api
Interface AdminStatus

All Known Implementing Classes:
MMAdminStatus

public interface AdminStatus

Base interface of admin status objects. Status objects are returned by some admin methods to indicate warnings or additional information, that doesn't belong in an Exception.

Since:
4.3

Field Summary
static int CODE_DECRYPTION_FAILED
          Warning status code indicating that an object could not be decrypted.
static int CODE_SUCCESS
          Status code indicating that the operation succeeded.
static int CODE_UNKNOWN
          Status code indicating an unknown status
 
Method Summary
 int getCode()
          Get the status code.
 java.lang.String getMessage()
          Get the status message.
 

Field Detail

CODE_UNKNOWN

static final int CODE_UNKNOWN
Status code indicating an unknown status

See Also:
Constant Field Values

CODE_SUCCESS

static final int CODE_SUCCESS
Status code indicating that the operation succeeded.

See Also:
Constant Field Values

CODE_DECRYPTION_FAILED

static final int CODE_DECRYPTION_FAILED
Warning status code indicating that an object could not be decrypted.

See Also:
Constant Field Values
Method Detail

getCode

int getCode()
Get the status code. This will be one of the status codes specified by the constants AdminStatus.CODE_*.

Returns:
String the unique Identifier
Since:
4.3

getMessage

java.lang.String getMessage()
Get the status message.

Returns:
String Name
Since:
4.3


Copyright © 2009. All Rights Reserved.