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, toStringcanTake, canTake, checkPermission, createPath, getACL, getAssignedLabels, getChannel, getClockDifference, getDisplayName, getFileSystemProvisioner, getLabelCloud, getNodePropertyDescriptors, getSearchUrl, getSelfLabel, hasPermission, isAcceptingTasks, isHoldOffLaunchUntilSave, reconfigure, save, toComputerpublic 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
IOExceptionhudson.model.Descriptor.FormExceptionpublic 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.AbstractCloudSlavepublic void terminate()
throws InterruptedException,
IOException
terminate in class hudson.slaves.AbstractCloudSlaveInterruptedExceptionIOExceptionprotected void _terminate(hudson.model.TaskListener listener)
throws IOException,
InterruptedException
_terminate in class hudson.slaves.AbstractCloudSlaveIOExceptionInterruptedException@Nonnull public org.jenkinsci.plugins.cloudstats.ProvisioningActivity.Id getId()
getId in interface org.jenkinsci.plugins.cloudstats.TrackedItemCopyright © 2016–2020. All rights reserved.