Enum Class WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode
java.lang.Object
java.lang.Enum<WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode>
edu.internet2.middleware.grouper.ws.coresoap.WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode
- All Implemented Interfaces:
WsResultCode,Serializable,Comparable<WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode>,Constable
- Enclosing class:
- WsDataProviderSubjectListSyncResult
public static enum WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode
extends Enum<WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode>
implements WsResultCode
result code of a request
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionexception was thrown while running data provider sync (http status code 500) (success: F)invalid input (e.g. if everything blank) (http status code 400) (success: F)executed the data provider sync successfully (http status code 200) (success: T) -
Method Summary
Modifier and TypeMethodDescriptionintget the http status code associated with this status code, e.g. 200booleanif this is a successful resultnameForVersion(GrouperVersion clientVersion) get the name label for a certain version of clientReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface edu.internet2.middleware.grouper.ws.WsResultCode
name
-
Enum Constant Details
-
SUCCESS
public static final WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode SUCCESSexecuted the data provider sync successfully (http status code 200) (success: T) -
EXCEPTION
public static final WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode EXCEPTIONexception was thrown while running data provider sync (http status code 500) (success: F) -
INVALID_QUERY
public static final WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode INVALID_QUERYinvalid input (e.g. if everything blank) (http status code 400) (success: F)
-
-
Method Details
-
values
public static WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode[] values()Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static WsDataProviderSubjectListSyncResult.WsDataProviderSubjectListSyncResultCode valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
nameForVersion
get the name label for a certain version of client- Specified by:
nameForVersionin interfaceWsResultCode- Parameters:
clientVersion-- Returns:
-
isSuccess
public boolean isSuccess()if this is a successful result- Specified by:
isSuccessin interfaceWsResultCode- Returns:
- true if success
-
getHttpStatusCode
public int getHttpStatusCode()Description copied from interface:WsResultCodeget the http status code associated with this status code, e.g. 200- Specified by:
getHttpStatusCodein interfaceWsResultCode- Returns:
- the status code e.g. 200
- See Also:
-