public class ComputeEngineInstance
extends hudson.slaves.AbstractCloudSlave
| Modifier and Type | Class and Description |
|---|---|
static class |
ComputeEngineInstance.DescriptorImpl |
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor| Modifier and Type | Field and Description |
|---|---|
String |
cloudName |
Integer |
launchTimeout |
String |
sshUser |
Optional<WindowsConfiguration> |
windowsConfig |
String |
zone |
| Constructor and Description |
|---|
ComputeEngineInstance(String cloudName,
String name,
String zone,
String nodeDescription,
String sshUser,
String remoteFS,
Optional<WindowsConfiguration> windowsConfig,
int numExecutors,
hudson.model.Node.Mode mode,
String labelString,
hudson.slaves.ComputerLauncher launcher,
hudson.slaves.RetentionStrategy retentionStrategy,
Integer launchTimeout) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_terminate(hudson.model.TaskListener listener) |
hudson.slaves.AbstractCloudComputer |
createComputer() |
ComputeEngineCloud |
getCloud() |
Boolean |
getConnected() |
long |
getLaunchTimeoutMillis() |
void |
onConnected() |
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toStringcanTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputerpublic final String zone
public final String cloudName
public final String sshUser
public final transient Optional<WindowsConfiguration> windowsConfig
public Integer launchTimeout
public ComputeEngineInstance(String cloudName, String name, String zone, String nodeDescription, String sshUser, String remoteFS, Optional<WindowsConfiguration> windowsConfig, int numExecutors, hudson.model.Node.Mode mode, String labelString, hudson.slaves.ComputerLauncher launcher, hudson.slaves.RetentionStrategy retentionStrategy, Integer launchTimeout) throws hudson.model.Descriptor.FormException, IOException
hudson.model.Descriptor.FormExceptionIOExceptionpublic hudson.slaves.AbstractCloudComputer createComputer()
createComputer in class hudson.slaves.AbstractCloudSlaveprotected void _terminate(hudson.model.TaskListener listener)
throws IOException,
InterruptedException
_terminate in class hudson.slaves.AbstractCloudSlaveIOExceptionInterruptedExceptionpublic void onConnected()
public Boolean getConnected()
public long getLaunchTimeoutMillis()
public ComputeEngineCloud getCloud() throws CloudNotFoundException
CloudNotFoundExceptionCopyright © 2016–2018 Google. All rights reserved.