|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.nxpe.NxpeResult
public class NxpeResult
Defines a 32-bit result class to support the policy extension return codes.
Nested Class Summary | |
---|---|
static class |
NxpeResult.Type
|
static class |
NxpeResult.Value
|
Field Summary | |
---|---|
static NxpeResult |
Cancel
Reserved. |
static NxpeResult |
ConditionFalse
Returned by a condition extension when the compared values do not match. |
static NxpeResult |
ConditionTrue
Returned by a condition extension when the compared values match. |
static NxpeResult |
ConditionUnknown
Returned by a condition extension when the values cannot be compared. |
static NxpeResult |
Deny
Returned by an action extension when a deny action was applied. |
static NxpeResult |
ErrorBadData
Returned by a context data extension when the data cannot be parsed. |
static java.lang.String |
ErrorCodeComponent
Reserved. |
static NxpeResult |
ErrorConfigInitialization
Returned by an extension when the initialize method for the extension encounters an error. |
static NxpeResult |
ErrorDataUnavailable
Returned by a context data extension when the requested data is not available. |
static NxpeResult |
ErrorIllegalArgument
Returned by the extension when the informationContext object contains an unknown paramter. |
static NxpeResult |
ErrorIllegalState
Reserved. |
static NxpeResult |
ErrorInterfaceUnavailable
Returned when the extension has not implemented one of the required methods in the interface. |
static NxpeResult |
ErrorNoMemory
Reserved. |
static NxpeResult |
GeneralFailure
Returned by an extension when an unknown error occurs. |
protected NxpeResult.Type |
m_resultType
Reserved. |
protected NxpeResult.Value |
m_resultValue
Reserved. |
static NxpeResult |
NoAction
Reserved. |
static NxpeResult |
Obligation
Returned by an action extension when an abligation actions was performed. |
static NxpeResult |
Pending
Reserved. |
static NxpeResult |
Permit
Returned by an action extension when a permit action was applied. |
static java.lang.String |
SubGroupCodeActionHandler
Reserved. |
static java.lang.String |
SubGroupCodeConditionHandler
Reserved. |
static java.lang.String |
SubGroupCodeConfigureInformationContext
Reserved. |
static java.lang.String |
SubGroupCodeEngine
Reserved. |
static java.lang.String |
SubGroupCodeInformationContext
Reserved. |
static java.lang.String |
SubGroupCodeResponseContext
Reserved. |
static NxpeResult |
Success
Reserved. |
static NxpeResult |
UserDataNotAccessible
Returned by an extension when the user data required by the policy is not accessible. |
Constructor Summary | |
---|---|
NxpeResult(NxpeResult.Type resultType,
NxpeResult.Value resultValue)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Reserved for internal use. |
java.lang.String |
getErrorCode()
Reserved for internal use. |
java.lang.String |
getErrorCode(java.lang.String subGroup)
Reserved for internal use. |
java.lang.String |
getErrorCode(java.lang.String component,
java.lang.String subGroup)
Reserved for internal use. |
NxpeResult.Type |
getResultType()
|
NxpeResult.Value |
getResultValue()
|
int |
hashCode()
Reserved for internal use. |
boolean |
isError()
Reserved for internal use. |
boolean |
isInformation()
Reserved for internal use. |
boolean |
isSuccess()
Reserved for internal use. |
boolean |
isUnknown()
Reserved for internal use. |
boolean |
isWarning()
Reserved for internal use. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final NxpeResult Success
public static final NxpeResult Pending
public static final NxpeResult GeneralFailure
public static final NxpeResult ErrorNoMemory
public static final NxpeResult ErrorBadData
public static final NxpeResult ErrorConfigInitialization
public static final NxpeResult UserDataNotAccessible
public static final NxpeResult Permit
public static final NxpeResult Deny
public static final NxpeResult Obligation
public static final NxpeResult NoAction
public static final NxpeResult ConditionFalse
public static final NxpeResult ConditionTrue
public static final NxpeResult ConditionUnknown
public static final NxpeResult Cancel
public static final NxpeResult ErrorInterfaceUnavailable
public static final NxpeResult ErrorDataUnavailable
public static final NxpeResult ErrorIllegalState
public static final NxpeResult ErrorIllegalArgument
public static final java.lang.String ErrorCodeComponent
public static final java.lang.String SubGroupCodeEngine
public static final java.lang.String SubGroupCodeConditionHandler
public static final java.lang.String SubGroupCodeActionHandler
public static final java.lang.String SubGroupCodeConfigureInformationContext
public static final java.lang.String SubGroupCodeInformationContext
public static final java.lang.String SubGroupCodeResponseContext
protected NxpeResult.Type m_resultType
protected NxpeResult.Value m_resultValue
Constructor Detail |
---|
public NxpeResult(NxpeResult.Type resultType, NxpeResult.Value resultValue)
Method Detail |
---|
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean isSuccess()
public boolean isError()
public boolean isUnknown()
public boolean isWarning()
public boolean isInformation()
public NxpeResult.Type getResultType()
public NxpeResult.Value getResultValue()
public java.lang.String getErrorCode()
public java.lang.String getErrorCode(java.lang.String subGroup)
public java.lang.String getErrorCode(java.lang.String component, java.lang.String subGroup)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |