Since 3.15.0
| Modifier and Type | Field and Description |
|---|---|
| private Boolean | cancellable
Controls enablement state of a cancel button. |
| private String | message
Optional, more detailed associated progress message. |
| private Integer | percentage
Optional progress percentage to display (value 100 is considered 100%). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Boolean | |
| public WorkDoneProgressKind | |
| public String | |
| public Integer | |
| public int | |
| public void | |
| public void | |
| public void | setPercentage(final Integer percentage)
Optional progress percentage to display (value 100 is considered 100%). |
| public String |
| cancellable | back to summary |
|---|---|
| private Boolean cancellable Controls enablement state of a cancel button. This property is only valid if a cancel
button got requested in the Clients that don't support cancellation or don't support control the button's enablement state are allowed to ignore the setting. | |
| message | back to summary |
|---|---|
| private String message Optional, more detailed associated progress message. Contains
complementary information to the Examples: "3/25 files", "project/src/module2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid. | |
| percentage | back to summary |
|---|---|
| private Integer percentage Optional progress percentage to display (value 100 is considered 100%). If not provided infinite progress is assumed and clients are allowed to ignore the `percentage` value in subsequent in report notifications. The value should be steadily rising. Clients are free to ignore values that are not following this rule. | |
| WorkDoneProgressReport | back to summary |
|---|---|
| public WorkDoneProgressReport() | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getCancellable | back to summary |
|---|---|
| public Boolean getCancellable() Controls enablement state of a cancel button. This property is only valid if a cancel
button got requested in the Clients that don't support cancellation or don't support control the button's enablement state are allowed to ignore the setting. | |
| getKind | back to summary |
|---|---|
| public WorkDoneProgressKind getKind() Implements org. Always return report
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Optional, more detailed associated progress message. Contains
complementary information to the Examples: "3/25 files", "project/src/module2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid. | |
| getPercentage | back to summary |
|---|---|
| public Integer getPercentage() Optional progress percentage to display (value 100 is considered 100%). If not provided infinite progress is assumed and clients are allowed to ignore the `percentage` value in subsequent in report notifications. The value should be steadily rising. Clients are free to ignore values that are not following this rule. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setCancellable | back to summary |
|---|---|
| public void setCancellable(final Boolean cancellable) Controls enablement state of a cancel button. This property is only valid if a cancel
button got requested in the Clients that don't support cancellation or don't support control the button's enablement state are allowed to ignore the setting. | |
| setMessage | back to summary |
|---|---|
| public void setMessage(final String message) Optional, more detailed associated progress message. Contains
complementary information to the Examples: "3/25 files", "project/src/module2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid. | |
| setPercentage | back to summary |
|---|---|
| public void setPercentage(final Integer percentage) Optional progress percentage to display (value 100 is considered 100%). If not provided infinite progress is assumed and clients are allowed to ignore the `percentage` value in subsequent in report notifications. The value should be steadily rising. Clients are free to ignore values that are not following this rule. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |