|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.policy.ResultDetail
public class ResultDetail
Represents one informational detail about a the compliance of a policy
| Field Summary | |
|---|---|
static int |
ERROR
Policy compliance error |
static int |
INFO
Policy compliance success |
static int |
PENDING
Policy result pending |
static int |
WARNING
Policy compliance warning |
| Constructor Summary | |
|---|---|
ResultDetail()
|
|
ResultDetail(int returnCode,
java.lang.String message)
|
|
| Method Summary | |
|---|---|
void |
deserialize(java.lang.String metadata)
Subclasses should override this to hydrate any saved data. |
java.lang.String |
getMessage()
Get the message from this ResultDetail |
int |
getReturnCode()
Get the return code from this ResultDetail |
java.lang.String |
serialize()
Subclasses should override this to store any metadata. |
void |
setMessage(java.lang.String message)
Set the message for this ResultDetail |
void |
setReturnCode(int returnCode)
Set the return code for this ResultDetail |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INFO
public static final int WARNING
public static final int ERROR
public static final int PENDING
| Constructor Detail |
|---|
public ResultDetail(int returnCode,
java.lang.String message)
returnCode - The return code of the ResultDetailmessage - The message of the Result Detailpublic ResultDetail()
| Method Detail |
|---|
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - The message for the ResultDetailpublic int getReturnCode()
public void setReturnCode(int returnCode)
returnCode - The return code for the ResultDetailpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String serialize()
public void deserialize(java.lang.String metadata)
metadata - Previously serialized metadata to set for this ResultDetail
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||