Class HistoryWrapper
- java.lang.Object
-
- org.apache.karaf.shell.impl.console.HistoryWrapper
-
-
Constructor Summary
Constructors Constructor Description HistoryWrapper(org.jline.reader.History history)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Clear the history.int
first()
First available index.CharSequence
get(int index)
Command at the given index.int
last()
Last available index.
-
-
-
Method Detail
-
clear
public void clear()
Description copied from interface:History
Clear the history.
-
first
public int first()
Description copied from interface:History
First available index.
-
last
public int last()
Description copied from interface:History
Last available index.
-
get
public CharSequence get(int index)
Description copied from interface:History
Command at the given index. Indices can range fromfirst()
tolast()
.
-
-