public class JCloudsSlave
extends hudson.slaves.AbstractCloudSlave
implements org.jenkinsci.plugins.cloudstats.TrackedItem
Modifier and Type | Class and Description |
---|---|
static class |
JCloudsSlave.JCloudsSlaveDescriptor |
hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor
Constructor and Description |
---|
JCloudsSlave(org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id id,
org.openstack4j.model.compute.Server metadata,
String labelString,
SlaveOptions slaveOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
_terminate(hudson.model.TaskListener listener) |
hudson.slaves.AbstractCloudComputer<JCloudsSlave> |
createComputer() |
long |
getCreatedTime() |
org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id |
getId() |
String |
getPublicAddress()
Get public IP address of the server.
|
SlaveOptions |
getSlaveOptions()
Get effective options used to configure this slave.
|
JCloudsCloud.SlaveType |
getSlaveType() |
protected Object |
readResolve() |
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getLauncher, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, setLabelString, setLauncher, setMode, setNodeName, setRetentionStrategy, setUserId, toString
canTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, toComputer
public JCloudsSlave(@Nonnull org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id id, @Nonnull org.openstack4j.model.compute.Server metadata, @Nonnull String labelString, @Nonnull SlaveOptions slaveOptions) throws IOException, hudson.model.Descriptor.FormException
IOException
hudson.model.Descriptor.FormException
protected Object readResolve()
readResolve
in class hudson.model.Slave
@CheckForNull public String getPublicAddress()
@Nonnull public SlaveOptions getSlaveOptions()
public JCloudsCloud.SlaveType getSlaveType()
public hudson.slaves.AbstractCloudComputer<JCloudsSlave> createComputer()
createComputer
in class hudson.slaves.AbstractCloudSlave
@Nonnull public org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id getId()
getId
in interface org.jenkinsci.plugins.cloudstats.TrackedItem
public long getCreatedTime()
protected void _terminate(hudson.model.TaskListener listener) throws IOException, InterruptedException
_terminate
in class hudson.slaves.AbstractCloudSlave
IOException
InterruptedException
Copyright © 2016–2017. All rights reserved.