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>
public class MockSlaveLauncher extends ComputerLauncher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MockSlaveLauncher.DescriptorImpl
static class
MockSlaveLauncher.Listener
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description int
bandwidth
int
latency
-
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
-
-
Constructor Summary
Constructors Constructor Description MockSlaveLauncher(int latency, int bandwidth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
launch(SlaveComputer computer, TaskListener listener)
-
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, afterDisconnect, beforeDisconnect, beforeDisconnect, checkJavaVersion, isLaunchSupported, launch
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
launch
public void launch(SlaveComputer computer, TaskListener listener) throws IOException, InterruptedException
- Overrides:
launch
in classComputerLauncher
- Throws:
IOException
InterruptedException
-
-