Module neovim.notifications
Class BufferLinesEvent
- java.lang.Object
-
- com.ensarsarajcic.neovim.java.notifications.buffer.BufferLinesEvent
-
- All Implemented Interfaces:
BufferEvent,NeovimNotification
public final class BufferLinesEvent extends java.lang.Object implements BufferEvent
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Function<java.util.List,BufferEvent>CREATORstatic java.lang.StringNAME-
Fields inherited from interface com.ensarsarajcic.neovim.java.notifications.buffer.BufferEvent
PREFIX
-
-
Constructor Summary
Constructors Constructor Description BufferLinesEvent(com.ensarsarajcic.neovim.java.api.types.msgpack.Buffer buffer, int changedTick, int firstLine, int lastLine, java.util.List<java.lang.String> lineData, boolean more)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ensarsarajcic.neovim.java.api.types.msgpack.BuffergetBuffer()intgetChangedTick()intgetFirstLine()intgetLastLine()java.util.List<java.lang.String>getLineData()java.lang.StringgetNotificationName()Provides the name of this notification type.booleanisMore()java.lang.StringtoString()
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
CREATOR
public static final java.util.function.Function<java.util.List,BufferEvent> CREATOR
-
-
Method Detail
-
getBuffer
public com.ensarsarajcic.neovim.java.api.types.msgpack.Buffer getBuffer()
-
getChangedTick
public int getChangedTick()
-
getFirstLine
public int getFirstLine()
-
getLastLine
public int getLastLine()
-
getLineData
public java.util.List<java.lang.String> getLineData()
-
isMore
public boolean isMore()
-
getNotificationName
public java.lang.String getNotificationName()
Description copied from interface:NeovimNotificationProvides the name of this notification type. This will usually have the same value between instances.- Specified by:
getNotificationNamein interfaceNeovimNotification- Returns:
- name of this notification type
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-