Package org.eclipse.lsp4j
Class ApplyWorkspaceEditParams
- java.lang.Object
-
- org.eclipse.lsp4j.ApplyWorkspaceEditParams
-
public class ApplyWorkspaceEditParams extends java.lang.ObjectThe workspace/applyEdit request is sent from the server to the client to modify resource on the client side.
-
-
Constructor Summary
Constructors Constructor Description ApplyWorkspaceEditParams()ApplyWorkspaceEditParams(WorkspaceEdit edit)ApplyWorkspaceEditParams(WorkspaceEdit edit, java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)WorkspaceEditgetEdit()The edits to apply.java.lang.StringgetLabel()An optional label of the workspace edit.inthashCode()voidsetEdit(WorkspaceEdit edit)The edits to apply.voidsetLabel(java.lang.String label)An optional label of the workspace edit.java.lang.StringtoString()
-
-
-
Constructor Detail
-
ApplyWorkspaceEditParams
public ApplyWorkspaceEditParams()
-
ApplyWorkspaceEditParams
public ApplyWorkspaceEditParams(WorkspaceEdit edit)
-
ApplyWorkspaceEditParams
public ApplyWorkspaceEditParams(WorkspaceEdit edit, java.lang.String label)
-
-
Method Detail
-
getEdit
public WorkspaceEdit getEdit()
The edits to apply.
-
setEdit
public void setEdit(WorkspaceEdit edit)
The edits to apply.
-
getLabel
public java.lang.String getLabel()
An optional label of the workspace edit. This label is presented in the user interface for example on an undo stack to undo the workspace edit.
-
setLabel
public void setLabel(java.lang.String label)
An optional label of the workspace edit. This label is presented in the user interface for example on an undo stack to undo the workspace edit.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-