Class RevertLine
java.lang.Object
org.aesh.readline.action.mappings.RevertLine
- All Implemented Interfaces:
Consumer<InputProcessor>,Action
Undo all changes made to this line. This is like executing the undo
command enough times to get back to the beginning.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(InputProcessor inputProcessor) Executes this action on the given input processor.name()Returns the name of this action.
-
Constructor Details
-
RevertLine
public RevertLine()
-
-
Method Details
-
name
Description copied from interface:ActionReturns the name of this action. -
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
-