public static enum WsAssignAttributesResults.WsAssignAttributesResultsCode extends java.lang.Enum<WsAssignAttributesResults.WsAssignAttributesResultsCode> implements WsResultCode
Enum Constant and Description |
---|
EXCEPTION
something bad happened (lite status code 500) (success: F)
|
INSUFFICIENT_PRIVILEGES
not allowed to the privileges on the inputs.
|
INVALID_QUERY
invalid query (e.g.
|
SUCCESS
found the attributeAssignments (lite status code 200) (success: T)
|
Modifier and Type | Method and Description |
---|---|
abstract WsAssignAttributeBatchResult.WsAssignAttributeBatchResultCode |
convertToBatchResult() |
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 WsAssignAttributesResults.WsAssignAttributesResultsCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WsAssignAttributesResults.WsAssignAttributesResultsCode |
valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static WsAssignAttributesResults.WsAssignAttributesResultsCode[] |
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 WsAssignAttributesResults.WsAssignAttributesResultsCode SUCCESS
public static final WsAssignAttributesResults.WsAssignAttributesResultsCode EXCEPTION
public static final WsAssignAttributesResults.WsAssignAttributesResultsCode INVALID_QUERY
public static final WsAssignAttributesResults.WsAssignAttributesResultsCode INSUFFICIENT_PRIVILEGES
public static WsAssignAttributesResults.WsAssignAttributesResultsCode[] values()
for (WsAssignAttributesResults.WsAssignAttributesResultsCode c : WsAssignAttributesResults.WsAssignAttributesResultsCode.values()) System.out.println(c);
public static WsAssignAttributesResults.WsAssignAttributesResultsCode 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 abstract WsAssignAttributeBatchResult.WsAssignAttributeBatchResultCode convertToBatchResult()
public 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
public static WsAssignAttributesResults.WsAssignAttributesResultsCode valueOfIgnoreCase(java.lang.String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entries