public static enum WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode extends java.lang.Enum<WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode> implements WsResultCode
Enum Constant and Description |
---|
PROBLEM_WITH_ASSIGNMENT
if one or more entries had problems, but some others succeeded.
|
SUCCESS
found the attributeAssignments (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 WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode[] |
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 WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode SUCCESS
public static final WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode PROBLEM_WITH_ASSIGNMENT
public static WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode[] values()
for (WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode c : WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode.values()) System.out.println(c);
public static WsAssignAttributesBatchResults.WsAssignAttributesBatchResultsCode 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