com.aliyun.oss.event

## 枚举 ProgressEventType

- java.lang.Object
- - java.lang.Enum<ProgressEventType>
  - - com.aliyun.oss.event.ProgressEventType

- 所有已实现的接口:
    Serializable, Comparable<ProgressEventType>

      public enum ProgressEventType
      extends Enum<ProgressEventType>

- - ### 枚举常量概要

    枚举常量
    枚举常量和说明
    `REQUEST_BYTE_TRANSFER_EVENT` Used to indicate the number of bytes to be sent to OSS.
    `REQUEST_CONTENT_LENGTH_EVENT` Event of the content length to be sent in a request.
    `RESPONSE_BYTE_TRANSFER_EVENT` Used to indicate the number of bytes received from OSS.
    `RESPONSE_CONTENT_LENGTH_EVENT` Event of the content length received in a response.
    `SELECT_COMPLETED_EVENT`
    `SELECT_FAILED_EVENT`
    `SELECT_SCAN_EVENT`
    `SELECT_STARTED_EVENT` Select object events.
    `TRANSFER_CANCELED_EVENT`
    `TRANSFER_COMPLETED_EVENT`
    `TRANSFER_FAILED_EVENT`
    `TRANSFER_PART_COMPLETED_EVENT`
    `TRANSFER_PART_FAILED_EVENT`
    `TRANSFER_PART_STARTED_EVENT`
    `TRANSFER_PREPARING_EVENT` Transfer events.
    `TRANSFER_STARTED_EVENT`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `static ProgressEventType` | `valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static ProgressEventType[]` | `values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    - ### 从类继承的方法 java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

    - ### 从类继承的方法 java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### 枚举常量详细资料

    - #### REQUEST_CONTENT_LENGTH_EVENT

          public static final ProgressEventType REQUEST_CONTENT_LENGTH_EVENT

      Event of the content length to be sent in a request.

    - #### RESPONSE_CONTENT_LENGTH_EVENT

          public static final ProgressEventType RESPONSE_CONTENT_LENGTH_EVENT

      Event of the content length received in a response.

    - #### REQUEST_BYTE_TRANSFER_EVENT

          public static final ProgressEventType REQUEST_BYTE_TRANSFER_EVENT

      Used to indicate the number of bytes to be sent to OSS.

    - #### RESPONSE_BYTE_TRANSFER_EVENT

          public static final ProgressEventType RESPONSE_BYTE_TRANSFER_EVENT

      Used to indicate the number of bytes received from OSS.

    - #### TRANSFER_PREPARING_EVENT

          public static final ProgressEventType TRANSFER_PREPARING_EVENT

      Transfer events.

    - #### TRANSFER_STARTED_EVENT

          public static final ProgressEventType TRANSFER_STARTED_EVENT

    - #### TRANSFER_COMPLETED_EVENT

          public static final ProgressEventType TRANSFER_COMPLETED_EVENT

    - #### TRANSFER_FAILED_EVENT

          public static final ProgressEventType TRANSFER_FAILED_EVENT

    - #### TRANSFER_CANCELED_EVENT

          public static final ProgressEventType TRANSFER_CANCELED_EVENT

    - #### TRANSFER_PART_STARTED_EVENT

          public static final ProgressEventType TRANSFER_PART_STARTED_EVENT

    - #### TRANSFER_PART_COMPLETED_EVENT

          public static final ProgressEventType TRANSFER_PART_COMPLETED_EVENT

    - #### TRANSFER_PART_FAILED_EVENT

          public static final ProgressEventType TRANSFER_PART_FAILED_EVENT

    - #### SELECT_STARTED_EVENT

          public static final ProgressEventType SELECT_STARTED_EVENT

      Select object events.

    - #### SELECT_SCAN_EVENT

          public static final ProgressEventType SELECT_SCAN_EVENT

    - #### SELECT_COMPLETED_EVENT

          public static final ProgressEventType SELECT_COMPLETED_EVENT

    - #### SELECT_FAILED_EVENT

          public static final ProgressEventType SELECT_FAILED_EVENT

  - ### 方法详细资料

    - #### values

          public static ProgressEventType[] values()

      按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:

          for (ProgressEventType c : ProgressEventType.values())
              System.out.println(c);

      返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组

    - #### valueOf

          public static ProgressEventType valueOf(String name)

      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
        `name` - 要返回的枚举常量的名称。
      返回:
        返回带有指定名称的枚举常量
      抛出:
        `IllegalArgumentException` - 如果该枚举类型没有带有指定名称的常量
        `NullPointerException` - 如果参数为空值

Copyright © 2020. All Rights Reserved.