public class DockerSlaveSingle
extends hudson.slaves.AbstractCloudSlave
implements org.jenkinsci.plugins.cloudstats.TrackedItem
DockerSlave
.hudson.model.Slave.JnlpJar, hudson.model.Slave.SlaveDescriptor
Constructor and Description |
---|
DockerSlaveSingle(String name,
String nodeDescription,
DockerSlaveConfig config,
YADockerConnector connector,
org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id activityId) |
Modifier and Type | Method and Description |
---|---|
protected void |
_terminate(hudson.model.TaskListener listener) |
hudson.slaves.AbstractCloudComputer |
createComputer() |
DockerSlaveConfig |
getConfig() |
YADockerConnector |
getConnector() |
org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id |
getId() |
hudson.slaves.DelegatingComputerLauncher |
getLauncher() |
hudson.model.TaskListener |
getListener() |
void |
setListener(hudson.model.TaskListener listener)
Set listener that will be used for printing out messages instead default listener.
|
void |
terminate() |
createLauncher, equals, getClockDifferenceCallable, getComputer, getDescriptor, getLabelString, getMode, getNodeDescription, getNodeName, getNodeProperties, getNumExecutors, getRemoteFS, getRetentionStrategy, getRootPath, getUserId, getWorkspaceFor, getWorkspaceRoot, hashCode, readResolve, setLabelString, setLauncher, setMode, setNodeDescription, setNodeName, setNodeProperties, setNumExecutors, setRetentionStrategy, setUserId, toString
canTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputer
public DockerSlaveSingle(@Nonnull String name, @Nonnull String nodeDescription, @Nonnull DockerSlaveConfig config, @Nonnull YADockerConnector connector, @Nonnull org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id activityId) throws IOException, hudson.model.Descriptor.FormException
IOException
hudson.model.Descriptor.FormException
public YADockerConnector getConnector()
public DockerSlaveConfig getConfig()
public hudson.slaves.DelegatingComputerLauncher getLauncher()
getLauncher
in class hudson.model.Slave
@Nonnull public hudson.model.TaskListener getListener()
public void setListener(hudson.model.TaskListener listener)
public hudson.slaves.AbstractCloudComputer createComputer()
createComputer
in class hudson.slaves.AbstractCloudSlave
public void terminate() throws InterruptedException, IOException
terminate
in class hudson.slaves.AbstractCloudSlave
InterruptedException
IOException
protected void _terminate(hudson.model.TaskListener listener) throws IOException, InterruptedException
_terminate
in class hudson.slaves.AbstractCloudSlave
IOException
InterruptedException
@Nonnull public org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id getId()
getId
in interface org.jenkinsci.plugins.cloudstats.TrackedItem
Copyright © 2016–2020. All rights reserved.