Package 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 controller and expect that script to connect.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CommandConnector.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description CommandConnector(String command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandLauncher
launch(String host, TaskListener listener)
-
Methods inherited from class hudson.slaves.ComputerConnector
getDescriptor
-
-
-
-
Field Detail
-
command
public final String command
-
-
Constructor Detail
-
CommandConnector
@DataBoundConstructor public CommandConnector(String command)
-
-
Method Detail
-
launch
public CommandLauncher launch(String host, TaskListener listener) throws IOException, InterruptedException
- Specified by:
launch
in classComputerConnector
- Throws:
IOException
InterruptedException
-
-