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. |
getDescriptor
public final String command
@DataBoundConstructor public CommandConnector(String command)
public CommandLauncher launch(String host, TaskListener listener) throws IOException, InterruptedException
ComputerConnector
ComputerLauncher
for connecting to the given host.launch
in class ComputerConnector
host
- The host name / IP address of the machine to connect to.listener
- IfIOException
InterruptedException
Copyright © 2017. All rights reserved.