public class vSphereCloudSlave extends AbstractCloudSlave
Modifier and Type | Class and Description |
---|---|
static class |
vSphereCloudSlave.DescriptorImpl |
static class |
vSphereCloudSlave.vSphereCloudComputerListener |
Slave.JnlpJar, Slave.SlaveDescriptor
Node.InternalComputerListener, Node.Mode
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
Boolean |
doingLastInLimitedTestRun |
Boolean |
slaveIsDisconnecting |
Boolean |
slaveIsStarting |
holdOffLaunchUntilSave, SKIP_BUILD_CHECK_ON_FLYWEIGHTS
Constructor and Description |
---|
vSphereCloudSlave(String name,
String nodeDescription,
String remoteFS,
String numExecutors,
Node.Mode mode,
String labelString,
ComputerLauncher delegateLauncher,
RetentionStrategy retentionStrategy,
List<? extends NodeProperty<?>> nodeProperties,
String vsDescription,
String vmName,
boolean launchSupportForced,
boolean waitForVMTools,
String snapName,
String launchDelay,
String idleOption,
String LimitedTestRunCount) |
Modifier and Type | Method and Description |
---|---|
protected void |
_terminate(TaskListener listener) |
static void |
AddProbableLaunch(vSphereCloudSlave slave,
Date target) |
CauseOfBlockage |
canTake(Queue.BuildableItem buildItem) |
AbstractCloudComputer |
createComputer() |
boolean |
EndLimitedTestRun(Run r) |
protected vSphereCloud |
findOurVsInstance(ComputerLauncher l) |
ComputerLauncher |
getDelegateLauncher()
For UI.
|
String |
getIdleOption() |
String |
getLaunchDelay() |
Integer |
getLimitedTestRunCount() |
String |
getSnapName() |
String |
getVmName() |
String |
getVsDescription() |
Boolean |
getWaitForVMTools() |
boolean |
isLaunchSupportForced() |
static void |
ProbableLaunchCleanup() |
static int |
ProbableLaunchCount() |
static vSphereCloudSlave |
ProbablyLaunchCanHandle(Queue.BuildableItem item) |
protected Object |
readResolve() |
static void |
RemoveProbableLaunch(vSphereCloudSlave slave) |
boolean |
StartLimitedTestRun(Run r,
TaskListener listener) |
terminate
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toString
canTake, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodeProperty, getNodeProperty, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputer
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
checkAnyPermission, checkPermission, hasAnyPermission, hasPermission, hasPermission
public transient Boolean doingLastInLimitedTestRun
public transient Boolean slaveIsStarting
public transient Boolean slaveIsDisconnecting
@DataBoundConstructor public vSphereCloudSlave(String name, String nodeDescription, String remoteFS, String numExecutors, Node.Mode mode, String labelString, ComputerLauncher delegateLauncher, RetentionStrategy retentionStrategy, List<? extends NodeProperty<?>> nodeProperties, String vsDescription, String vmName, boolean launchSupportForced, boolean waitForVMTools, String snapName, String launchDelay, String idleOption, String LimitedTestRunCount) throws Descriptor.FormException, IOException
Descriptor.FormException
IOException
protected Object readResolve()
readResolve
in class Slave
public String getVmName()
public String getVsDescription()
public String getSnapName()
public Boolean getWaitForVMTools()
public String getLaunchDelay()
public String getIdleOption()
public Integer getLimitedTestRunCount()
public boolean isLaunchSupportForced()
protected void _terminate(TaskListener listener) throws IOException, InterruptedException
_terminate
in class AbstractCloudSlave
IOException
InterruptedException
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) protected vSphereCloud findOurVsInstance(ComputerLauncher l)
public static void AddProbableLaunch(vSphereCloudSlave slave, Date target)
public static void RemoveProbableLaunch(vSphereCloudSlave slave)
public static void ProbableLaunchCleanup()
public static int ProbableLaunchCount()
public static vSphereCloudSlave ProbablyLaunchCanHandle(Queue.BuildableItem item)
public AbstractCloudComputer createComputer()
createComputer
in class AbstractCloudSlave
public CauseOfBlockage canTake(Queue.BuildableItem buildItem)
public boolean StartLimitedTestRun(Run r, TaskListener listener)
public boolean EndLimitedTestRun(Run r)
public ComputerLauncher getDelegateLauncher()
Copyright © 2016–2022. All rights reserved.