public static enum WsGetMembersLiteResult.WsGetMembersLiteResultCode extends java.lang.Enum<WsGetMembersLiteResult.WsGetMembersLiteResultCode> implements WsResultCode
Enum Constant and Description |
---|
EXCEPTION
something bad happened (lite status code 500) (success: F)
|
GROUP_NOT_FOUND
cant find group (lite status code 404) (success: F)
|
GROUP_UUID_DOESNT_MATCH_NAME
if there is one result, convert to the results code
(lite status code 400) (success: F)
|
INVALID_QUERY
invalid query (e.g.
|
PROBLEM_GETTING_MEMBERS
something bad happened with some of the member retrieval (lite status code 500) (success: F)
|
SUCCESS
found the members (lite status code 200) (success: T)
|
Modifier and Type | Method and Description |
---|---|
int |
getHttpStatusCode()
get the http result code for this status code
|
boolean |
isSuccess()
if this is a successful result
|
java.lang.String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsGetMembersLiteResult.WsGetMembersLiteResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsGetMembersLiteResult.WsGetMembersLiteResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final WsGetMembersLiteResult.WsGetMembersLiteResultCode SUCCESS
public static final WsGetMembersLiteResult.WsGetMembersLiteResultCode EXCEPTION
public static final WsGetMembersLiteResult.WsGetMembersLiteResultCode PROBLEM_GETTING_MEMBERS
public static final WsGetMembersLiteResult.WsGetMembersLiteResultCode INVALID_QUERY
public static final WsGetMembersLiteResult.WsGetMembersLiteResultCode GROUP_NOT_FOUND
public static final WsGetMembersLiteResult.WsGetMembersLiteResultCode GROUP_UUID_DOESNT_MATCH_NAME
public static WsGetMembersLiteResult.WsGetMembersLiteResultCode[] values()
for (WsGetMembersLiteResult.WsGetMembersLiteResultCode c : WsGetMembersLiteResult.WsGetMembersLiteResultCode.values()) System.out.println(c);
public static WsGetMembersLiteResult.WsGetMembersLiteResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String nameForVersion(GrouperVersion clientVersion)
nameForVersion
in interface WsResultCode
clientVersion
- public boolean isSuccess()
isSuccess
in interface WsResultCode
public int getHttpStatusCode()
getHttpStatusCode
in interface WsResultCode