Enum Class WsGetMembersResults.WsGetMembersResultsCode

java.lang.Object
java.lang.Enum<WsGetMembersResults.WsGetMembersResultsCode>
edu.internet2.middleware.grouper.ws.coresoap.WsGetMembersResults.WsGetMembersResultsCode
All Implemented Interfaces:
WsResultCode, Serializable, Comparable<WsGetMembersResults.WsGetMembersResultsCode>, Constable
Enclosing class:
WsGetMembersResults

public static enum WsGetMembersResults.WsGetMembersResultsCode extends Enum<WsGetMembersResults.WsGetMembersResultsCode> implements WsResultCode
result code of a request. The possible result codes of WsGetMembersResultCode (with http status codes) are: SUCCESS(200), EXCEPTION(500), INVALID_QUERY(400)
  • Enum Constant Details

  • Method Details

    • 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

      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 name
      NullPointerException - if the argument is null
    • nameForVersion

      public String nameForVersion(GrouperVersion clientVersion)
      get the name label for a certain version of client
      Specified by:
      nameForVersion in interface WsResultCode
      Parameters:
      clientVersion -
      Returns:
    • isSuccess

      public boolean isSuccess()
      if this is a successful result
      Specified by:
      isSuccess in interface WsResultCode
      Returns:
      true if success
    • getHttpStatusCode

      public int getHttpStatusCode()
      get the http result code for this status code
      Specified by:
      getHttpStatusCode in interface WsResultCode
      Returns:
      the status code