public class WorkDoneProgressReport extends java.lang.Object implements WorkDoneProgressNotification
Since 3.15.0
| Constructor and Description |
|---|
WorkDoneProgressReport() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getCancellable()
Controls enablement state of a cancel button.
|
WorkDoneProgressKind |
getKind()
Always return report
|
java.lang.String |
getMessage()
Optional, more detailed associated progress message.
|
java.lang.Integer |
getPercentage()
Optional progress percentage to display (value 100 is considered 100%).
|
int |
hashCode() |
void |
setCancellable(java.lang.Boolean cancellable)
Controls enablement state of a cancel button.
|
void |
setMessage(java.lang.String message)
Optional, more detailed associated progress message.
|
void |
setPercentage(java.lang.Integer percentage)
Optional progress percentage to display (value 100 is considered 100%).
|
java.lang.String |
toString() |
public WorkDoneProgressKind getKind()
getKind in interface WorkDoneProgressNotification@Pure public java.lang.Boolean getCancellable()
WorkDoneProgressBegin payload.
Clients that don't support cancellation or don't support control the button's enablement state are allowed to ignore the setting.
public void setCancellable(java.lang.Boolean cancellable)
WorkDoneProgressBegin payload.
Clients that don't support cancellation or don't support control the button's enablement state are allowed to ignore the setting.
@Pure public java.lang.String getMessage()
WorkDoneProgressBegin.title.
Examples: "3/25 files", "project/src/module2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid.
public void setMessage(java.lang.String message)
WorkDoneProgressBegin.title.
Examples: "3/25 files", "project/src/module2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid.
@Pure public java.lang.Integer getPercentage()
The value should be steadily rising. Clients are free to ignore values that are not following this rule.
public void setPercentage(java.lang.Integer percentage)
The value should be steadily rising. Clients are free to ignore values that are not following this rule.
@Pure public java.lang.String toString()
toString in class java.lang.Object@Pure public boolean equals(java.lang.Object obj)
equals in class java.lang.Object@Pure public int hashCode()
hashCode in class java.lang.Object