Uses of Class
com.shaft.cli.TerminalActions
-
Uses of TerminalActions in com.shaft.cli
Modifier and TypeMethodDescriptionstatic TerminalActions
TerminalActions.getInstance()
static TerminalActions
TerminalActions.getInstance
(boolean asynchronous) static TerminalActions
TerminalActions.getInstance
(boolean asynchronous, boolean verbose) static TerminalActions
TerminalActions.getInstance
(boolean asynchronous, boolean verbose, boolean isInternal) Modifier and TypeMethodDescriptionFileActions.copyFile
(TerminalActions terminalSession, String sourceDirectory, String destinationDirectory, String fileName) Copies files from sourceDirectory to destinationDirectory using the provided terminalSession.FileActions.copyFileToLocalMachine
(TerminalActions terminalSession, String targetFileFolderPath, String targetFileName, String... pathToTempDirectoryOnRemoteMachine) This method is used to copy a certain file from a remote machine (dockerized or not) to the current execution machine.FileActions.getFileChecksum
(TerminalActions terminalSession, String targetFileFolderPath, String targetFileName, String... pathToTempDirectoryOnRemoteMachine) This method is used to compute the SHA256 checksum for any file.FileActions.listFilesInDirectory
(TerminalActions terminalSession, String targetDirectory) Lists all files inside the targetDirectory -
Uses of TerminalActions in com.shaft.driver
Modifier and TypeMethodDescriptionstatic TerminalActions
DriverFactory.getTerminalDriver()
Creates a new local Terminal instance to facilitate using the Terminal Actions Librarystatic TerminalActions
SHAFT.CLI.terminal()