Package org.eclipse.lsp4j
Class FileSystemWatcher
- java.lang.Object
-
- org.eclipse.lsp4j.FileSystemWatcher
-
public class FileSystemWatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileSystemWatcher()FileSystemWatcher(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,RelativePattern> globPattern)FileSystemWatcher(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,RelativePattern> globPattern, java.lang.Integer kind)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,RelativePattern>getGlobPattern()The glob pattern to watch.java.lang.IntegergetKind()The kind of events of interest.inthashCode()voidsetGlobPattern(java.lang.String globPattern)voidsetGlobPattern(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,RelativePattern> globPattern)The glob pattern to watch.voidsetGlobPattern(RelativePattern globPattern)voidsetKind(java.lang.Integer kind)The kind of events of interest.java.lang.StringtoString()
-
-
-
Constructor Detail
-
FileSystemWatcher
public FileSystemWatcher()
-
FileSystemWatcher
public FileSystemWatcher(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,RelativePattern> globPattern)
-
FileSystemWatcher
public FileSystemWatcher(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,RelativePattern> globPattern, java.lang.Integer kind)
-
-
Method Detail
-
getGlobPattern
public org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,RelativePattern> getGlobPattern()
The glob pattern to watch. Either a string pattern relative to the base path or a relative pattern.
-
setGlobPattern
public void setGlobPattern(org.eclipse.lsp4j.jsonrpc.messages.Either<java.lang.String,RelativePattern> globPattern)
The glob pattern to watch. Either a string pattern relative to the base path or a relative pattern.
-
setGlobPattern
public void setGlobPattern(java.lang.String globPattern)
-
setGlobPattern
public void setGlobPattern(RelativePattern globPattern)
-
getKind
public java.lang.Integer getKind()
The kind of events of interest. If omitted it defaults toWatchKind.Create|WatchKind.Change|WatchKind.Deletewhich is7.
-
setKind
public void setKind(java.lang.Integer kind)
The kind of events of interest. If omitted it defaults toWatchKind.Create|WatchKind.Change|WatchKind.Deletewhich is7.
-
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
-
-