Enum ConnectorReturnCode

java.lang.Object
java.lang.Enum<ConnectorReturnCode>
ag.smaser.trip.cfw.ConnectorReturnCode
All Implemented Interfaces:
Serializable, Comparable<ConnectorReturnCode>, java.lang.constant.Constable

public enum ConnectorReturnCode extends Enum<ConnectorReturnCode>
Valid connector return codes.
  • Enum Constant Details

    • Success

      public static final ConnectorReturnCode Success
      Operation succeeded.
    • InvalidArgument

      public static final ConnectorReturnCode InvalidArgument
      A method was passed an invalid argument.
    • InitializationError

      public static final ConnectorReturnCode InitializationError
      Initialization has not yet taken place, or an error occurred during initialization.
    • NotSupported

      public static final ConnectorReturnCode NotSupported
      The requested functionality is not yet supported.
    • Unknown

      public static final ConnectorReturnCode Unknown
      Other error.
  • Method Details

    • values

      public static ConnectorReturnCode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ConnectorReturnCode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
      The return code as an integer value.
      Returns:
      Numeric error code