org.jenkinsci.plugins.scripted_cloud
Class scriptedCloudLauncher
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>
hudson.slaves.ComputerLauncher
org.jenkinsci.plugins.scripted_cloud.scriptedCloudLauncher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.slaves.ComputerLauncher>
public class scriptedCloudLauncher
- extends hudson.slaves.ComputerLauncher
- Author:
- Admin
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Fields inherited from class hudson.slaves.ComputerLauncher |
LIST |
| Methods inherited from class hudson.slaves.ComputerLauncher |
afterDisconnect, beforeDisconnect, launch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scriptedCloudLauncher
@DataBoundConstructor
public scriptedCloudLauncher(hudson.slaves.ComputerLauncher delegate,
String vsDescription,
String vmName)
enableLaunch
public void enableLaunch()
disableLaunch
public void disableLaunch()
findOurVsInstance
public scriptedCloud findOurVsInstance()
throws RuntimeException
- Throws:
RuntimeException
isLaunchSupported
public boolean isLaunchSupported()
- Overrides:
isLaunchSupported in class hudson.slaves.ComputerLauncher
launch
public void launch(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
- Overrides:
launch in class hudson.slaves.ComputerLauncher
- Throws:
IOException
InterruptedException
stopSlave
public void stopSlave(scriptedCloudSlaveComputer slaveComputer,
boolean forced)
beforeDisconnect
public void beforeDisconnect(hudson.slaves.SlaveComputer slaveComputer,
hudson.model.TaskListener taskListener)
- Overrides:
beforeDisconnect in class hudson.slaves.ComputerLauncher
afterDisconnect
public void afterDisconnect(hudson.slaves.SlaveComputer s,
hudson.model.TaskListener taskListener)
- Overrides:
afterDisconnect in class hudson.slaves.ComputerLauncher
getDelegate
public hudson.slaves.ComputerLauncher getDelegate()
getVmName
public String getVmName()
getVsDescription
public String getVsDescription()
getLimitedTestRunCount
public Integer getLimitedTestRunCount()
getDescriptor
public hudson.model.Descriptor<hudson.slaves.ComputerLauncher> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.slaves.ComputerLauncher>- Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.slaves.ComputerLauncher>
Copyright © 2004-2012. All Rights Reserved.