Package com.veertu.plugin.anka
Class AnkaLauncher
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<ComputerLauncher>
-
- hudson.slaves.ComputerLauncher
-
- hudson.slaves.DelegatingComputerLauncher
-
- com.veertu.plugin.anka.AnkaLauncher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ComputerLauncher>
public class AnkaLauncher extends DelegatingComputerLauncher
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.slaves.DelegatingComputerLauncher
DelegatingComputerLauncher.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
defaultLaunchTimeoutSeconds
protected static int
defaultMaxNumRetries
protected static int
defaultRetryWaitTime
protected static int
defaultSSHLaunchDelay
-
Fields inherited from class hudson.slaves.DelegatingComputerLauncher
launcher
-
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
-
-
Constructor Summary
Constructors Constructor Description AnkaLauncher(AnkaMgmtCloud cloud, AnkaCloudSlaveTemplate template, String instanceId)
AnkaLauncher(AnkaMgmtCloud cloud, AnkaCloudSlaveTemplate template, String instanceId, int launchTimeoutSeconds, int maxRetries, int retryWaitTime, int sshLaunchDelaySeconds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isLaunchSupported()
void
launch(SlaveComputer computer, TaskListener listener)
void
launchFinished()
-
Methods inherited from class hudson.slaves.DelegatingComputerLauncher
afterDisconnect, beforeDisconnect, getLauncher
-
Methods inherited from class hudson.slaves.ComputerLauncher
afterDisconnect, beforeDisconnect, checkJavaVersion, launch
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Field Detail
-
defaultLaunchTimeoutSeconds
protected static final int defaultLaunchTimeoutSeconds
- See Also:
- Constant Field Values
-
defaultMaxNumRetries
protected static final int defaultMaxNumRetries
- See Also:
- Constant Field Values
-
defaultRetryWaitTime
protected static final int defaultRetryWaitTime
- See Also:
- Constant Field Values
-
defaultSSHLaunchDelay
protected static final int defaultSSHLaunchDelay
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AnkaLauncher
public AnkaLauncher(AnkaMgmtCloud cloud, AnkaCloudSlaveTemplate template, String instanceId, int launchTimeoutSeconds, int maxRetries, int retryWaitTime, int sshLaunchDelaySeconds)
-
AnkaLauncher
public AnkaLauncher(AnkaMgmtCloud cloud, AnkaCloudSlaveTemplate template, String instanceId)
-
-
Method Detail
-
isLaunchSupported
public boolean isLaunchSupported()
- Overrides:
isLaunchSupported
in classComputerLauncher
-
launch
public void launch(SlaveComputer computer, TaskListener listener) throws IOException, InterruptedException
- Overrides:
launch
in classDelegatingComputerLauncher
- Throws:
IOException
InterruptedException
-
launchFinished
public void launchFinished()
-
-