Package org.jenkinci.plugins.mock_slave
Class MockSlaveLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<ComputerLauncher>
hudson.slaves.ComputerLauncher
org.jenkinci.plugins.mock_slave.MockSlaveLauncher
- All Implemented Interfaces:
ExtensionPoint
,Describable<ComputerLauncher>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
FieldsFields inherited from class hudson.slaves.ComputerLauncher
LIST
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
latency
public final int latency -
bandwidth
public final int bandwidth
-
-
Constructor Details
-
MockSlaveLauncher
@DataBoundConstructor public MockSlaveLauncher(int latency, int bandwidth)
-
-
Method Details
-
launch
public void launch(SlaveComputer computer, TaskListener listener) throws IOException, InterruptedException - Overrides:
launch
in classComputerLauncher
- Throws:
IOException
InterruptedException
-