Package org.jline.builtins
Class Commands.ReExecute
java.lang.Object
org.jline.builtins.Commands.ReExecute
- Enclosing class:
- Commands
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCommandInBuffer
(LineReader reader, String command) void
addCommandInFile
(String command) void
editCommandsAndClose
(LineReader reader) int
getArgId()
boolean
isEdit()
boolean
private String
replaceParam
(String command)
-
Field Details
-
execute
private final boolean execute -
edit
private final boolean edit -
oldParam
-
newParam
-
cmdWriter
-
cmdFile
-
argId
private int argId
-
-
Constructor Details
-
ReExecute
- Throws:
IOException
-
-
Method Details
-
getArgId
public int getArgId() -
isEdit
public boolean isEdit() -
isExecute
public boolean isExecute() -
addCommandInFile
- Throws:
IOException
-
addCommandInBuffer
-
replaceParam
-
editCommandsAndClose
- Throws:
Exception
-