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 TypeMethodDescriptionvoidaddCommandInBuffer(LineReader reader, String command) voidaddCommandInFile(String command) voideditCommandsAndClose(LineReader reader) intgetArgId()booleanisEdit()booleanprivate StringreplaceParam(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
-