public static enum WsGetGroupsLiteResult.WsGetGroupsLiteResultCode extends java.lang.Enum<WsGetGroupsLiteResult.WsGetGroupsLiteResultCode> implements WsResultCode
Enum Constant and Description |
---|
EXCEPTION
found the subject (rest http status code 500) (success: F)
|
INVALID_QUERY
invalid query (e.g.
|
MEMBER_NOT_FOUND
couldnt find the member to query (lite http status code 404) (success: F)
|
SUBJECT_DUPLICATE
problem querying the subject, was duplicate (lite http status code 409) (success: F)
|
SUBJECT_NOT_FOUND
couldnt find the subject to query (lite http status code 404) (success: F)
|
SUCCESS
found the subject (rest 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
|
java.lang.String |
nameForVersion(GrouperVersion clientVersion)
get the name label for a certain version of client
|
static WsGetGroupsLiteResult.WsGetGroupsLiteResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsGetGroupsLiteResult.WsGetGroupsLiteResultCode[] |
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 WsGetGroupsLiteResult.WsGetGroupsLiteResultCode SUCCESS
public static final WsGetGroupsLiteResult.WsGetGroupsLiteResultCode EXCEPTION
public static final WsGetGroupsLiteResult.WsGetGroupsLiteResultCode INVALID_QUERY
public static final WsGetGroupsLiteResult.WsGetGroupsLiteResultCode MEMBER_NOT_FOUND
public static final WsGetGroupsLiteResult.WsGetGroupsLiteResultCode SUBJECT_NOT_FOUND
public static final WsGetGroupsLiteResult.WsGetGroupsLiteResultCode SUBJECT_DUPLICATE
public static WsGetGroupsLiteResult.WsGetGroupsLiteResultCode[] values()
for (WsGetGroupsLiteResult.WsGetGroupsLiteResultCode c : WsGetGroupsLiteResult.WsGetGroupsLiteResultCode.values()) System.out.println(c);
public static WsGetGroupsLiteResult.WsGetGroupsLiteResultCode 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 boolean isSuccess()
isSuccess
in interface WsResultCode
public java.lang.String nameForVersion(GrouperVersion clientVersion)
nameForVersion
in interface WsResultCode
clientVersion
- public int getHttpStatusCode()
WsResultCode
getHttpStatusCode
in interface WsResultCode
WsResultCode.getHttpStatusCode()