Uses of Interface
org.metricshub.winrm.WindowsRemoteExecutor
Packages that use WindowsRemoteExecutor
-
Uses of WindowsRemoteExecutor in org.metricshub.winrm
Classes in org.metricshub.winrm with type parameters of type WindowsRemoteExecutorModifier and TypeInterfaceDescriptioninterfaceShareRemoteDirectoryConsumer<W extends WindowsRemoteExecutor,R, S, T> Methods in org.metricshub.winrm that return WindowsRemoteExecutorModifier and TypeMethodDescriptionWindowsTempShare.getWindowsRemoteExecutor()Get the WindowsRemoteExecutor instanceMethods in org.metricshub.winrm with parameters of type WindowsRemoteExecutorModifier and TypeMethodDescriptionstatic StringShellFileCopy.copyLocalFilesToRemote(WindowsRemoteExecutor windowsRemoteExecutor, String command, List<String> localFiles, long timeout) Copy the specified local files to a temporary directory on the remote host through the WinRM command shell, and return the command updated so that each reference to a local file path points to the corresponding remote copy.static voidShellFileCopy.copyLocalFileToRemoteFile(WindowsRemoteExecutor windowsRemoteExecutor, Path localPath, String remoteFile, long timeout) Copy one local file to an explicit path on the remote host through the WinRM command shell, creating the destination directory when needed.static voidWindowsTempShare.createRemoteDirectory(WindowsRemoteExecutor windowsRemoteExecutor, String remotePath, long timeout, long start) Create the remote directory.WmiHelper.executeWqlInCimv2(WindowsRemoteExecutor windowsRemoteExecutor, String wqlQuery, long timeout) Execute one of the library's internal housekeeping WQL queries (encoding detection, Windows directory discovery) explicitly in the "ROOT\\CIMV2" namespace — where the standardWin32_*classes live — regardless of the executor's configured default namespace, which the caller may have pointed at a custom namespace.static WindowsTempShareWindowsTempShare.getOrCreateShare(WindowsRemoteExecutor windowsRemoteExecutor, long timeout, ShareRemoteDirectoryConsumer<WindowsRemoteExecutor, String, String, Long> shareRemoteDirectory) Get the existing share on the host or create it if absent.static StringWindowsTempShare.getWindowsDirectory(WindowsRemoteExecutor windowsRemoteExecutor, long timeout) Get the Windows directory.static CharsetWindowsRemoteProcessUtils.getWindowsEncodingCharset(WindowsRemoteExecutor windowsRemoteExecutor, long timeout) Deprecated.Method parameters in org.metricshub.winrm with type arguments of type WindowsRemoteExecutorModifier and TypeMethodDescriptionstatic WindowsTempShareWindowsTempShare.getOrCreateShare(WindowsRemoteExecutor windowsRemoteExecutor, long timeout, ShareRemoteDirectoryConsumer<WindowsRemoteExecutor, String, String, Long> shareRemoteDirectory) Get the existing share on the host or create it if absent.Constructors in org.metricshub.winrm with parameters of type WindowsRemoteExecutorModifierConstructorDescriptionWindowsTempShare(WindowsRemoteExecutor windowsRemoteExecutor, String shareNameOrUnc, String remotePath) Constructor of WindowsTempShare -
Uses of WindowsRemoteExecutor in org.metricshub.winrm.light
Classes in org.metricshub.winrm.light that implement WindowsRemoteExecutorModifier and TypeClassDescriptionfinal classDependency-freeWindowsRemoteExecutorbacked byWsmanClient. -
Uses of WindowsRemoteExecutor in org.metricshub.winrm.service
Methods in org.metricshub.winrm.service that return WindowsRemoteExecutorModifier and TypeMethodDescriptionstatic WindowsRemoteExecutorWinRMExecutorFactory.createInstance(WinRMEndpoint winRMEndpoint, long timeout, Path ticketCache, List<AuthenticationEnum> authentications) Create aWindowsRemoteExecutor.static WindowsRemoteExecutorWinRMExecutorFactory.createInstance(WinRMEndpoint winRMEndpoint, long timeout, Path ticketCache, List<AuthenticationEnum> authentications, SSLContext sslContext, boolean trustAllCertificates) Create aWindowsRemoteExecutorwith an explicit TLS configuration, overriding theorg.metricshub.winrm.tls.insecuresystem property for this instance.static WindowsRemoteExecutorWinRMExecutorFactory.createInstance(WinRMEndpoint winRMEndpoint, long timeout, Path ticketCache, List<AuthenticationEnum> authentications, SSLContext sslContext, boolean trustAllCertificates, int consoleCodePage) Create aWindowsRemoteExecutorwith an explicit console code page for the command shell.
CodeSetis the remote machine's ANSI code page, whilecmd.exewrites its output in the console (OEM) code page — the two differ on every non-English locale.