public static enum WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode extends Enum<WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode> implements WsResultCode
Enum Constant and Description |
---|
EXCEPTION
problem (http status code 500) (success: F)
|
INVALID_QUERY
problem (http status code 400) (success: F)
|
MEMBER_NOT_FOUND
couldnt find the member to query (http status code 404) (success: F)
|
SUBJECT_NOT_FOUND
couldnt find the subject to query (http status code 404) (success: F)
|
SUCCESS
found the audit entries (http status code 200) (success: T)
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatusCode()
get the http status code associated with this status code, e.g.
|
boolean |
isSuccess()
if this is a successful result
|
String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode SUCCESS
public static final WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode EXCEPTION
public static final WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode INVALID_QUERY
public static final WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode MEMBER_NOT_FOUND
public static final WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode SUBJECT_NOT_FOUND
public static WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode[] values()
for (WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode c : WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode.values()) System.out.println(c);
public static WsGetAuditEntriesResults.WsGetAuditEntriesResultsCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String nameForVersion(GrouperVersion clientVersion)
nameForVersion
in interface WsResultCode
clientVersion
- public int getHttpStatusCode()
WsResultCode
getHttpStatusCode
in interface WsResultCode
WsResultCode.getHttpStatusCode()
public boolean isSuccess()
isSuccess
in interface WsResultCode
Copyright © 2016 Internet2. All rights reserved.