hudson.slaves
Class CommandConnector
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerConnector>
hudson.slaves.ComputerConnector
hudson.slaves.CommandConnector
- All Implemented Interfaces:
- ExtensionPoint, Describable<ComputerConnector>
public class CommandConnector
- extends ComputerConnector
Executes a program on the master and expect that script to connect.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
command
public final String command
CommandConnector
@DataBoundConstructor
public CommandConnector(String command)
launch
public CommandLauncher launch(String host,
TaskListener listener)
throws IOException,
InterruptedException
- Description copied from class:
ComputerConnector
- Creates a
ComputerLauncher for connecting to the given host.
- Specified by:
launch in class ComputerConnector
- Parameters:
host - The host name / IP address of the machine to connect to.listener - If
- Throws:
IOException
InterruptedException
Copyright © 2004-2013. All Rights Reserved.