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>
-
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
FieldsModifier and TypeFieldDescriptionprotected static final int
protected static final int
protected static final int
protected static final int
protected static final int
protected static final int
Fields inherited from class hudson.slaves.DelegatingComputerLauncher
launcher
Fields inherited from class hudson.slaves.ComputerLauncher
LIST
-
Constructor Summary
ConstructorsConstructorDescriptionAnkaLauncher
(AnkaMgmtCloud cloud, AnkaCloudSlaveTemplate template, String instanceId) AnkaLauncher
(AnkaMgmtCloud cloud, AnkaCloudSlaveTemplate template, String instanceId, int launchTimeoutSeconds, int maxRetries, int retryWaitTime, int sshLaunchDelaySeconds, int vmIPAssignWaitSeconds, int vmIPAssignRetries) -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
launch
(SlaveComputer computer, TaskListener listener) 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 Details
-
defaultLaunchTimeoutSeconds
protected static final int defaultLaunchTimeoutSeconds- See Also:
-
defaultMaxNumRetries
protected static final int defaultMaxNumRetries- See Also:
-
defaultRetryWaitTime
protected static final int defaultRetryWaitTime- See Also:
-
defaultSSHLaunchDelay
protected static final int defaultSSHLaunchDelay- See Also:
-
defaultVmIPAssignWaitSeconds
protected static final int defaultVmIPAssignWaitSeconds- See Also:
-
defaultVmIPAssignRetries
protected static final int defaultVmIPAssignRetries- See Also:
-
-
Constructor Details
-
AnkaLauncher
public AnkaLauncher(AnkaMgmtCloud cloud, AnkaCloudSlaveTemplate template, String instanceId, int launchTimeoutSeconds, int maxRetries, int retryWaitTime, int sshLaunchDelaySeconds, int vmIPAssignWaitSeconds, int vmIPAssignRetries) -
AnkaLauncher
-
-
Method Details
-
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
-