Uses of Record Class
org.sentrysoftware.metricshub.engine.strategy.utils.SudoInformation
Packages that use SudoInformation
-
Uses of SudoInformation in org.sentrysoftware.metricshub.engine.strategy.utils
Methods in org.sentrysoftware.metricshub.engine.strategy.utils with parameters of type SudoInformationModifier and TypeMethodDescriptionOsCommandHelper.createOsCommandEmbeddedFiles(@NonNull String commandLine, SudoInformation sudoInformation, @NonNull Map<Integer, EmbeddedFile> commandLineEmbeddedFiles, @NonNull BiFunction<String, String, File> tempFileCreator) Create the temporary embedded files in the given command line.static FileOsCommandHelper.createTempFileWithEmbeddedFileContent(EmbeddedFile embeddedFile, SudoInformation sudoInformation, BiFunction<String, String, File> tempFileCreator) Create a temporary file with the content of the embeddedFile.static StringOsCommandHelper.replaceSudo(String text, SudoInformation sudoInformation) Replace the %{SUDO:xxx}% tag in the given text with the sudo command.