Class ForwardSearchHistory
java.lang.Object
org.aesh.readline.action.mappings.ForwardSearchHistory
- All Implemented Interfaces:
Consumer<InputProcessor>,Action,ActionEvent,SearchAction
Action that searches forward through the command history.
- Author:
- Ståle W. Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aesh.readline.action.SearchAction
SearchAction.Status -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InputProcessor inputProcessor) Executes this action on the given input processor.voidProcesses an input event with the given action and key.booleanReturns whether this action event should retain focus after processing.name()Returns the name of this action.
-
Method Details
-
name
Description copied from interface:ActionReturns the name of this action.- Returns:
- the action name
-
input
Description copied from interface:ActionEventProcesses an input event with the given action and key.- Specified by:
inputin interfaceActionEvent- Parameters:
action- the action that triggered this inputkey- the key action associated with the input
-
keepFocus
public boolean keepFocus()Description copied from interface:ActionEventReturns whether this action event should retain focus after processing.- Specified by:
keepFocusin interfaceActionEvent- Returns:
- true if this event should keep focus
-
accept
Description copied from interface:ActionExecutes this action on the given input processor.- Specified by:
acceptin interfaceAction- Specified by:
acceptin interfaceConsumer<InputProcessor>- Parameters:
inputProcessor- the input processor to operate on
-