Class WindowsRemoteTerminal
java.lang.Object
com.oracle.bedrock.runtime.remote.AbstractRemoteTerminal
com.oracle.bedrock.runtime.remote.windows.winrm.WindowsRemoteTerminal
- All Implemented Interfaces:
RemoteTerminal
A Windows implementation of a
RemoteTerminal
that uses the WinRM SOAP service to execute commands.
Copyright (c) 2015. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.
- Author:
- Jonathan Knight
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.oracle.bedrock.runtime.remote.RemoteTerminal
RemoteTerminal.Launchable -
Constructor Summary
ConstructorsConstructorDescriptionWindowsRemoteTerminal(RemotePlatform platform) Create a Windows remote shell that will connect to the WinRM service running on theRemotePlatform. -
Method Summary
Modifier and TypeMethodDescriptionprotected WindowsSessionCreate aWindowsSessionthat can be used to communicate with the WinRM server on the remote host.launch(RemoteTerminal.Launchable launchable, Class<? extends com.oracle.bedrock.runtime.Application> applicationClass, com.oracle.bedrock.OptionsByType optionsByType) voidmakeDirectories(String directoryName, com.oracle.bedrock.OptionsByType optionsByType) voidMethods inherited from class com.oracle.bedrock.runtime.remote.AbstractRemoteTerminal
getRemotePlatform
-
Constructor Details
-
WindowsRemoteTerminal
Create a Windows remote shell that will connect to the WinRM service running on theRemotePlatform.- Parameters:
platform- theRemotePlatform
-
-
Method Details
-
launch
public RemoteApplicationProcess launch(RemoteTerminal.Launchable launchable, Class<? extends com.oracle.bedrock.runtime.Application> applicationClass, com.oracle.bedrock.OptionsByType optionsByType) -
makeDirectories
-
moveFile
-
createSession
Create aWindowsSessionthat can be used to communicate with the WinRM server on the remote host.- Returns:
- a
WindowsSessionthat can be used to communicate with the WinRM server on the remote host
-