Enum Class WsMessageResults.WsMessageResultsCode

java.lang.Object
java.lang.Enum<WsMessageResults.WsMessageResultsCode>
edu.internet2.middleware.grouper.ws.soap_v2_3.WsMessageResults.WsMessageResultsCode
All Implemented Interfaces:
WsResultCode, Serializable, Comparable<WsMessageResults.WsMessageResultsCode>, Constable
Enclosing class:
WsMessageResults

public static enum WsMessageResults.WsMessageResultsCode extends Enum<WsMessageResults.WsMessageResultsCode> implements WsResultCode
result code of a request
  • Enum Constant Details

  • Method Details

    • values

      public static WsMessageResults.WsMessageResultsCode[] 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 WsMessageResults.WsMessageResultsCode 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 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:
      name
    • getHttpStatusCode

      public int getHttpStatusCode()
      Description copied from interface: WsResultCode
      get the http status code associated with this status code, e.g. 200
      Specified by:
      getHttpStatusCode in interface WsResultCode
      Returns:
      the status code e.g. 200
      See Also:
    • isSuccess

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