public class CommandConnector extends ComputerConnector
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandConnector.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
CommandConnector(String command) |
| Modifier and Type | Method and Description |
|---|---|
CommandLauncher |
launch(String host,
TaskListener listener)
Creates a
ComputerLauncher for connecting to the given host. |
getDescriptorpublic final String command
@DataBoundConstructor public CommandConnector(String command)
public CommandLauncher launch(String host, TaskListener listener) throws IOException, InterruptedException
ComputerConnectorComputerLauncher for connecting to the given host.launch in class ComputerConnectorhost - The host name / IP address of the machine to connect to.listener - IfIOExceptionInterruptedExceptionCopyright © 2019. All rights reserved.