Uses of Class
com.shaft.cli.TerminalActions
Packages that use TerminalActions
- 
Uses of TerminalActions in com.shaft.cli
Methods in com.shaft.cli that return TerminalActionsModifier and TypeMethodDescriptionstatic TerminalActionsTerminalActions.getInstance()static TerminalActionsTerminalActions.getInstance(boolean asynchronous) static TerminalActionsTerminalActions.getInstance(boolean asynchronous, boolean verbose) static TerminalActionsTerminalActions.getInstance(boolean asynchronous, boolean verbose, boolean isInternal) Methods in com.shaft.cli with parameters of type TerminalActionsModifier 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
Methods in com.shaft.driver that return TerminalActionsModifier and TypeMethodDescriptionstatic TerminalActionsDriverFactory.getTerminalDriver()Creates a new local Terminal instance to facilitate using the Terminal Actions Librarystatic TerminalActionsSHAFT.CLI.terminal()